/* Masters Programs card grid */
.masters-program-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0;
}

/* Tablet */
@media (max-width: 992px){
  .masters-program-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 576px){
  .masters-program-grid{
    grid-template-columns: 1fr;
  }
}

.masters-program-card{
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 16px 16px 18px;
  background: #fff;
}

/* Title/link styling */
.masters-program-title{
  margin: 0 0 10px 0;
  font-size: 20px;
  line-height: 1.2;
}

.masters-program-title a{
  text-decoration: none;
}

.masters-program-title a:hover{
  text-decoration: underline;
}

/* Description text */
.masters-program-desc{
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

/* Safety: prevent long words/URLs from breaking layout */
.masters-program-card,
.masters-program-card *{
  overflow-wrap: anywhere;
}
