.model-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.model-card:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(29, 112, 73, 0.13);
}

.model-top {
  align-items: flex-start;
  gap: 14px;
}

.model-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.model-heading-copy {
  min-width: 0;
}

.model-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e2e5de;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(35, 49, 40, 0.07);
  font-weight: 900;
}

.model-logo img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.model-logo > span {
  font-size: 14px;
}

.model-logo.compact-logo {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 10px;
  box-shadow: none;
}

.model-logo.compact-logo img {
  width: 20px;
  height: 20px;
}

.model-brand-name {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.model-category {
  flex: 0 0 auto;
  color: var(--green);
  background: #eaf4ee;
  text-transform: none;
}

.model-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.28;
}

.model-card .model-spec {
  margin-top: 18px;
}

.table-model {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 240px;
}

.table-model strong {
  display: inline-block;
  margin-bottom: 3px;
}

.model-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 18px;
  background: var(--card);
}

.model-more .btn {
  min-width: 180px;
}

.model-more span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .model-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
  }

  .model-logo img {
    width: 25px;
    height: 25px;
  }
}
