/* Items Catalog & Classified Cards */

.item-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.item-card .card-image {
  position: relative;
  user-select: none;
}
.item-card .image.is-4by3 {
  background-color: #f1f5f9;
  overflow: hidden;
}
.item-card .card-main-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.item-card .item-card-placeholder {
  padding-top: 35%;
  text-align: center;
  color: #94a3b8;
}
.item-card .item-badge-left {
  position: absolute;
  top: 8px;
  left: 8px;
  pointer-events: none;
  z-index: 5;
  display: flex;
}
.item-card .item-badge-left .tag {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  font-weight: 600;
}
.item-card .item-actions-right {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
}
.item-card .item-video-tag {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-weight: 600;
}
.item-card .favorite-toggle-btn i {
  font-size: 0.8rem;
}
.item-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.item-card .item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
  line-height: 1.35;
}
.item-card .location-badge-btn {
  cursor: pointer;
  border: 1px solid #cbd5e1;
  font-weight: 500;
  text-decoration: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.item-card .item-meta-location {
  max-width: 65%;
}
