.search-card *,
.search-card *::before,
.search-card *::after {
  box-sizing: border-box;
}

.search-card {
  position: relative;
  box-shadow: 0 10px 10px var(--neutral-light);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-width: 0.2rem;
  border-color: #eaeaea;
  border-style: solid;
  border-radius: 10px;
  background-color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 2.3rem;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: 100%;
}

.search-card:hover {
  width: 81%;
  transition: all 0.1s ease-out;
}

.search-card .search-card-content .heading {
  color: var(--neutral-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton.skeleton-image {
  height: 160px;
  max-height: 160px;
}

.skeleton.skeleton-title {
  height: 1.3rem;
}

.skeleton.skeleton-footer {
  height: 1rem;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200, 20%, 80%);
  }
  100% {
    background-color: hsl(200, 20%, 95%);
  }
}

@media (max-width: 576px) {
  .search-card .search-card-clickable {
    padding: 0 !important;
    margin: 0;
    border: 0;
  }

  .search-card .search-card-clickable a {
    width: 100%;
    border-radius: 0 !important;
  }
}

.search-card .search-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-card .search-card-tags .tag {
  background-color: #e0aa55;
  color: #fdfcfc;
  font-family: "mulishsemibold";
  border-color: #e0aa55;
  border-width: 0.2rem;
  border-radius: 15px;
  padding: 5px 10px;
  opacity: 1;
  font-size: 1.3rem;
}

.search-card .search-card-title {
  font-size: 2rem;
  color: #33357d;
  font-family: "zilla_slabsemibold";
  margin-top: 1.5rem;
}

.search-card .search-card-authors {
  font-family: "mulishbold";
  font-size: 1.5rem;
  display: inline;
}

.search-card-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.search-card-link * {
  pointer-events: none;
}

.search-card-link .search-card-kind-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 2rem;
}
