.content .grant-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.grant-list--national { --grant-accent-rgb: 104, 133, 154; }
.grant-list--provincial { --grant-accent-rgb: 124, 151, 136; }
.grant-list--others { --grant-accent-rgb: 153, 139, 165; }
.grant-list--industrial { --grant-accent-rgb: 173, 139, 111; }

.grant-list .grant-entry {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: baseline;
  column-gap: 1.375rem;
  margin: 0;
  padding: .75rem .95rem .75rem .65rem;
  background: transparent;
  border: 1px solid #e4e7e8;
  border-inline-start: 3px solid rgb(var(--grant-accent-rgb));
  border-radius: 5px;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}

.grant-entry + .grant-entry {
  margin-top: 1.125rem;
}

.grant-role {
  box-sizing: border-box;
  padding: .13rem .2rem;
  border-radius: 4px;
  background-color: rgba(var(--grant-accent-rgb), .15);
  color: #50575c;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.grant-details {
  min-width: 0;
  text-align: start;
  overflow-wrap: anywhere;
}

.grant-title {
  font-weight: 600;
  color: #394147;
}

@media (hover: hover) and (pointer: fine) {
  .grant-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 71, 82, .12);
  }
}

@media (max-width: 620px) {
  .grant-meta-field {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
  }

  .grant-list .grant-entry {
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 1rem;
    padding: .65rem .6rem .65rem .45rem;
  }
  .grant-entry + .grant-entry {
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grant-list .grant-entry {
    transition: none;
    transform: none;
  }
}
