.dmit-employers-grid {
  --dmit-surface: var(--theme-palette-color-8, #ffffff);
  --dmit-border: var(--theme-palette-color-5, #e5e7eb);
  --dmit-text: var(--theme-text-color, #1f2937);
  --dmit-muted: var(--theme-palette-color-4, #6b7280);
  --dmit-link: var(--theme-link-initial-color, var(--theme-palette-color-1, #2563eb));
  --dmit-link-hover: var(--theme-link-hover-color, var(--theme-palette-color-2, #1d4ed8));

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.dmit-employer-card {
  border: 1px solid var(--dmit-border);
  border-radius: 12px;
  background: var(--dmit-surface);
  color: var(--dmit-text);
  padding: 18px;
}

.dmit-employer-logo {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--dmit-link) 12%, var(--dmit-surface));
  margin-bottom: 12px;
}

.dmit-employer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dmit-employer-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.dmit-employer-name {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.dmit-employer-tagline {
  margin: 0 0 10px;
  color: var(--dmit-muted);
}

.dmit-employer-website a {
  color: var(--dmit-link);
  text-decoration: none;
  font-weight: 600;
}

.dmit-employer-website a:hover {
  color: var(--dmit-link-hover);
}
