:root{
  --headline:#304862;
  --hover:#de4640;
  --text:#4d647e;
  --muted:#6b869c;

  --card-bg:#f7f9fb;
  --border:#e0e6ec;
  --shadow:0 10px 26px rgba(48,72,98,.18);
}

.model-inner{
  width:min(1240px,95%);
  margin:0 auto;
}

.model-filters-section{ padding:.75rem 0 1rem; }
.model-filters{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
}

.model-list-section{ padding:1rem 0 1.25rem; }

.model-list-grid{
  display:grid;
  gap:1rem;

  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  justify-items: center;
}

.model-list-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:360px;
  cursor:pointer;
  position:relative;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.model-list-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(48,72,98,.22);
  border-color:rgba(48,72,98,.18);
  background:#ffffff;
}

.model-list-card:focus-within{
  box-shadow:0 0 0 3px rgba(48,72,98,.25);
  border-color:rgba(48,72,98,.4);
}


.model-list-media{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#e9eef4;
}

.model-list-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.model-list-card:hover .model-list-media img,
.model-list-media:hover img{
  transform:scale(1.04);
}

.model-list-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.14));
  opacity:0; transition:.25s;
}

.model-list-card:hover .model-list-overlay,
.model-list-media:hover .model-list-overlay{
  opacity:1;
}

.model-popularity-badge {
  position: absolute;
  top: .55rem;
  left: .55rem;
  z-index: 3;
  display: inline-flex;
  gap: .2rem;

  background: rgba(0,0,0,.75);
  padding: .32rem .55rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  cursor: help;
}

.star .icon-star {
  width: 14px;
  height: 14px;
}

.star.filled .icon-star path {
  fill: #f4c542 !important;
}

.star.empty .icon-star path {
  fill: #777 !important;
  opacity: .45;
}

.model-list-body{
  padding:1rem;
  display:flex;
  flex-direction:column;
  gap:.75rem;
  text-align:center;
}

.model-title-like{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
}

.model-list-title{
  margin:0;
  color:var(--headline);
  font-weight:700;
  font-size:1.2rem;
}

.model-list-title-link{
  text-decoration:none;
  color:inherit;
}

.model-list-title-link:hover .model-list-title{
  color:var(--hover);
}

.model-location{
  display:flex;
  justify-content:center;
}

.model-list-cta{
  display:inline-flex;
  justify-content:center;
  margin:0 auto;
  padding:.55rem .9rem;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--card-bg);
  color:var(--headline);
  font-weight:700;
  text-decoration:none;
  letter-spacing:.2px;
  transition:.2s;
}

.model-list-cta:hover{
  color:var(--hover);
  border-color:rgba(222,70,64,.35);
}

.model-empty-section{ padding:1.25rem 0; }
.model-empty{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:1rem;
  text-align:center;
}
.model-empty-title{
  margin:0;
  color:var(--headline);
  font-weight:700;
  font-size: 1.125rem !important;
}
.model-empty-text{
  color:var(--muted);
  margin-top:.35rem;
}

.model-ads-section{ padding:1rem 0; }

.model-filters-section {
  padding: 1.25rem 0 1.5rem;
  margin-bottom: 1.25rem;
}

.model-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  align-items: flex-end;
}

.model-filter-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .35rem;
  letter-spacing: .3px;
}

.model-filter-select {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--headline);
  font-weight: 800;
  letter-spacing: .2px;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  background-image: url("data:image/svg+xml,%3Csvg fill='%234d647e' height='10' width='10' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 12px;
}

.model-filter-select:hover {
  border-color: rgba(48,72,98,.50);
}

.model-filter-select:focus {
  border-color: var(--headline);
  box-shadow: none;
  outline: none;
}

@media (max-width: 480px) {
  .model-filters-section {
    padding: .75rem 0 1rem;
  }
  .model-filter-select {
    padding: .6rem .75rem;
  }
}