.t324-filter-term-list {
  margin-bottom: 30px;
}

.t324-filter-term {
  display: inline-block;
  padding: 5px 15px;
  margin-right: 5px;
  margin-bottom: 5px;
  background-color: #0A3E6C;
  color: #FFF;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.8em;
  transition: 0.5s;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.t324-filter-term:hover {
  background: #011640;
  transition: 0.5s;
}

.t324-filter-term.active {
  color: #000;
  background: #FCB515;
}

.t324-filter-term.active:hover {
  background: #FCB515;
}

.t324-taxonomy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.t324-taxonomy-grid a.t324-taxonomy-item {
  position: relative;
  top: 0;
  box-shadow: 0 0 10px 0 rgb(0, 0, 0, 0.15);
  transition: 0.3s;
}

.t324-taxonomy-grid a.t324-taxonomy-item:hover {
  position: relative;
  top: -5px;
  box-shadow: 0 5px 10px 0 rgb(0, 0, 0, 0.15);
  transition: 0.3s;
}

.t324-taxonomy-image {
  height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
}

a.t324-taxonomy-item h2 {
  padding: 15px;
  color: #003262;
  font-family: "Montserrat", Sans-serif;
  font-size: 1.2em;
  font-weight: 600;
}

a.t324-taxonomy-item .t324-tax-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #011640;
  border-radius: 15px;
  font-size: 9px;
  color: #FFF;
  padding: 0 10px;
}

.t324-taxonomy-item.hidden {
  display: none;
}

/* On screens that are 768px or less, set the background color to blue */
@media screen and (max-width: 768px) {
  .t324-taxonomy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* On screens that are 576px or less, set the background color to blue */
@media screen and (max-width: 576px) {
  .t324-taxonomy-grid {
    grid-template-columns: 1fr;
  }
}