a {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;
}

.recipe-card {
  position: relative;

  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  background-color: var(--bg-primary);

  border-radius: 12px;
  box-shadow: var(--shadow-primary);
}

.recipe__image {
  position: relative;

  width: 100%;
  min-width: 260px;
  aspect-ratio: 260/120;

  border-radius: 12px 12px 0 0;

  background-color: #3636361f;
  background-position: center;
  background-size: cover;
  background-blend-mode: overlay;
}

app-favorite-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

.recipe__content {
  display: flex;
  flex-direction: column;

  padding: 12px 16px;
}

.recipe__name {
  width: 100%;

  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;

  color: var(--text-secondary);
}

.recipe__name,
.recipe__creator {
  max-width: 240px;
}

.recipe__tags {
  margin-top: 8px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-height: 34px;

  overflow: hidden;
}
