#search-results .card {
  /* Cap height at poster height */
  max-height: 225px;
  /* Scroll very long descriptions */
  /* overflow: scroll; */
}

/* Improve vertical centering of action icon */
.blueprint.card .header i {
  margin-top: 0.25em;
}

/* Remove color from linked Blueprint headers */
.blueprint.card .header a {
  color: unset;
}
.blueprint.card .header a:hover {
  color: #4183c4;
}

.blueprint.card .content [data-value="count"] {
  /* Reduce top margin so the bubble is centered */
  /* margin-top: -0.2em; */
  /* Add extra space to the actions on the right */
  margin-right: 0.3em;
  /* Show as clickable */
  cursor: pointer;
  /* Reduce size so it matches size of other icons */
  min-width: 1.2em;
  min-height: 1.2em;
  padding: 0.5em !important;
  line-height: 0.6em;
  border-radius: 300rem;
}
.blueprint.card .content [data-value="creator"] {
  /* Show as clickable */
  cursor: pointer;
}

/* Do not allow disabled card description text to be selected */
.disabled.card {
  user-select: none;
}

/* Apply filter to disabled card images */
.disabled.card img {
  filter: grayscale(50%) blur(0.8px);
}

/* Scroll very long Blueprint descriptions */
.card .content .description {
  max-height: 150px;
  overflow-y: auto;
  /* Extend scroll area into content padding so the track aligns with the card edge */
  margin-right: -1em;
  padding-right: 1em;
  scrollbar-color: var(--tcm-blue-color) transparent;
}

.card .content .description::-webkit-scrollbar-track {
  background: transparent;
}

.card .multi.image {
  /* Make sure multi image backgrounds are scaled down */
  background-size: 100% 100% !important;
  /* max-height: 225px; */
}
.card .multi.image * {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

/* For multi-image cards, tilt the image when hovered */
.card .multi.image:hover img {
  rotate: -2deg;
  -webkit-transform: translate(-2%);
  transform: translate(-2%);
  /* filter: blur(1px); /* grayscale(70%) blur(1px); */
}

#blueprint-pagination {
  margin-top: 1rem;
}

/* Mobile formatting */
@media (max-width: 768px) {
  /* Do not cap description height on mobile (to avoid weird scrolling) */
  .card .content .description {
    max-height: none;
    margin-right: 0;
    padding-right: 0;
  }

  /* Left-float blueprint actions to avoid weird alignment issues */
  .card .extra.content .right.floated {
    float: left !important;
  }
}