.m-featured-terms-container {
  overflow-x: auto;
  width: 100%;
}

.m-featured-terms-container .m-featured-terms-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  overflow: auto;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
  max-width: fit-content;
}

.m-featured-terms-row .m-featured-terms-item {
  cursor: pointer;
  flex-shrink: 0;
  width: min(8.5vw, 165px);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  user-select: none;
}

.m-featured-terms-row .m-featured-terms-item.chosen img,
.m-featured-terms-row .m-featured-terms-item:hover img {
  border-color: #222;
}

.m-featured-terms-row .m-featured-terms-item.chosen .text {
  font-weight: 600;
}

.m-featured-terms-row .m-featured-terms-item img {
  border-radius: 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  border: 3px solid transparent;
}

.m-featured-terms-row .m-featured-terms-item .text {
  margin-top: 8px;
  font-weight: 500;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: black;
  font-size: 13px;
  line-height: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* TABLET ONLY */
@media screen and (min-width: 550px) and (max-width: 1000px) {
  .m-featured-terms-row .m-featured-terms-item {
    width: min(14vw, 170px);
  }
}

/* MOBILE ONLY */
@media screen and (max-width: 550px) {
  .m-featured-terms-row .m-featured-terms-item {
    width: 26vw;
  }

  .m-featured-terms-row .m-featured-terms-item.chosen img,
  .m-featured-terms-row .m-featured-terms-item:hover img {
    border-width: 2px;
  }

  .m-featured-terms-container .m-featured-terms-row {
    gap: 0;
  }
}

/* DESKTOP ONLY */
@media screen and (min-width: 848px) {
  /* .large-12.columns:has(> .m-featured-terms-container)
    .m-featured-terms-container {
    margin-left: -10px;
    margin-right: -10px;
  } */
}
