.search-card {
  border-radius: 15px;
  background-color: var(--color-primary);
  overflow: hidden;
  color: #ffffff;
  max-width: 25rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.show-mobile {
  display: block;
}

.search-card-image-container {
  display: flex;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
  aspect-ratio: 16/9;
}

.search-card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-card-image-container:hover {
  background-size: 110%;
}

.search-card-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1.875rem;
  padding-right: 2.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.search-card-text-container .cat-title {
  font-weight: bold;
  text-transform: uppercase;
}

.search-card-link-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font: normal normal normal 18px/29px Effra;
  letter-spacing: 0.29px;
  margin-top: 1rem;
}

.search-card-link-desktop {
  display: none;
  text-decoration: none;
  font: normal normal bold 18px/29px Effra;
  letter-spacing: 0.29px;
  position: absolute;
  top: 50%;
  bottom: 50%;
  right: -2rem;
}

.search-card-text-container h4 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@media only screen and (min-width: 48rem) {
  .search-card {
    overflow: visible;
    height: 209px;
  }

  .search-card-link-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-card {
    flex-direction: row;
    max-width: 100%;
  }

  .show-mobile {
    display: none;
  }
}

@media only screen and (min-width: 62rem) {
  .search-card {
    height: 209px;
  }
}
