.ns-tm-grid {
  display: grid;
  align-items: stretch;
}

.ns-tm-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
}

.ns-tm-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px auto;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f5f7;
}

.ns-tm-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 999px;
}

.ns-tm-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .02));
}

.ns-tm-name {
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.ns-tm-sub {
  color: rgba(0, 0, 0, .65);
  line-height: 1.4;
}

.ns-tm-sub1 {
  margin-bottom: 2px;
}

.ns-tm-sub2 {
  margin-bottom: 14px;
}

.ns-tm-cta {
  margin-top: 10px;
}

.ns-tm-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(90deg, #00b3a4, #00c389);
  font-weight: 700;
}

.ns-tm-btn:hover {
  filter: brightness(.97);
}

/* Specialty Filters - Exact match to provided image */
.ns-tm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
  justify-content: flex-start;
  align-items: center;
}

.ns-tm-filter-btn {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  font-weight: 400;
  font-family: "Alexandria", Sans-serif;
  transition: color 0.2s ease;
  outline: none;
  white-space: nowrap;
  line-height: 1.5;
}

.ns-tm-filter-btn:hover {
  color: #8BC34A;
}

.ns-tm-filter-btn.active {
  color: #8BC34A;
  font-weight: 400;
}

.ns-tm-card.ns-filtered-out {
  display: none !important;
}

@media (max-width: 768px) {
  .ns-tm-filters {
    gap: 18px;
    margin-bottom: 24px;
    justify-content: center;
  }
}