/**
 * /assets/css/index.css
 * -----------------------------------------------------------------------------
 * Index/listing-only styling.
 * -----------------------------------------------------------------------------
 */

.index-page .page-title {
  letter-spacing: -0.2px;
}

.index-page .filters .form-label {
  margin-bottom: 4px;
}

/* Card */
.index-page .model-card {
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  background: #fff;
  transition: transform .12s ease, box-shadow .12s ease;
}

.index-page .model-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.index-page .model-card a { text-decoration: none; color: inherit; }

/* Thumb */
.index-page .model-thumb {
  position: relative;
  background: #f3f3f3;
}

.index-page .model-thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Badges */
.index-page .badge-overlay {
  position: absolute;
  z-index: 2;
}

.index-page .badge-top-left   { top: 10px; left: 10px; }
.index-page .badge-top-right  { top: 10px; right: 10px; }
.index-page .badge-btm-left   { bottom: 10px; left: 10px; }
.index-page .badge-btm-right  { bottom: 10px; right: 10px; }
.index-page .badge-btm-center { bottom: 10px; left: 50%; transform: translateX(-50%); }

.index-page .badge-overlay .badge {
  border-radius: 999px;
  padding: .40rem .60rem;
  font-weight: 700;
  letter-spacing: .1px;
}

/* If you embed flag img inside a badge, keep it aligned */
.index-page .badge-overlay .badge .flag-icon{
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

/* Meta */
.index-page .model-meta {
  padding: 10px 12px 12px;
}

.index-page .model-name {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index-page .model-sub {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Pagination */
.index-page .pagination .page-link {
  padding: 0.4rem 0.65rem;
}
