/* Carte de figurine — design FF.pen, id Pencil jNvRQ, k3bRDZ */
.ff-card-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  background-color: var(--ff-surface);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-m);
  box-shadow: 0 1px 6px var(--ff-shadow-card);
  color: var(--ff-text);
  font-family: var(--ff-font-body);
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.ff-card-item:hover,
.ff-card-item.is-hover {
  border-color: var(--ff-border-strong);
  box-shadow: 0 4px 16px var(--ff-shadow-overlay);
}

.ff-card-item:focus-visible,
.ff-card-item.is-focus {
  outline: 2px solid var(--ff-focus);
  outline-offset: 2px;
}

.ff-card-item__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: var(--ff-image-plate);
}

.ff-card-item__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ff-card-item__media--empty {
  background-color: var(--ff-surface-alt);
}

.ff-card-item__icon {
  font-size: 40px;
  line-height: 1;
  color: var(--ff-text-muted);
}

.ff-card-item__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--ff-space-2);
  width: 100%;
  padding: var(--ff-space-4);
}

.ff-card-item__character {
  overflow: hidden;
  font-size: var(--ff-font-size-xs);
  font-weight: 600;
  letter-spacing: 1px;
  line-height: normal;
  color: var(--ff-series-accent);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ff-card-item__title {
  font-size: var(--ff-font-size-l);
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 23px;
  color: var(--ff-text);
  overflow-wrap: anywhere;
}

.ff-card-item__brand {
  font-size: var(--ff-font-size-s);
  font-weight: 400;
  line-height: normal;
  color: var(--ff-text);
}

.ff-card-item__badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ff-space-2);
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .ff-card-item {
    transition: none;
  }
}
