.subject-access {
  margin-top: 18px;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.subject-grid > a {
  display: flex;
  min-height: 124px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfdfc;
  color: var(--ink);
  text-decoration: none;
}

.subject-grid > a:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.subject-grid b {
  font-size: 17px;
}

.subject-grid small {
  margin-top: 5px;
  color: var(--muted);
}

.subject-grid span {
  margin-top: auto;
  padding-top: 13px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 950px) {
  .subject-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .subject-access {
    padding: 19px;
  }

  .subject-grid {
    grid-template-columns: 1fr;
  }
}
