/* ==========================================================
   Phase 28: Neighborhoods + Organizations (city page)
   ========================================================== */

.neighborhoods-section {
  background: #fff;
}
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.neighborhood-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid #E3EDE7;
  border-radius: 10px;
  font-weight: 600;
  font-size: .88rem;
  color: #0F3D2E;
  transition: .2s;
}
.neighborhood-chip:hover {
  border-color: #16A34A;
  background: #F0FDF4;
  color: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22,163,74,.08);
}
.neighborhood-chip .pin { font-size: .85rem; }
.neighborhoods-note {
  text-align: center;
  font-size: .85rem;
  color: #5F6B7A;
  padding: 14px;
  background: #F7FAF8;
  border-radius: 10px;
  border: 1px dashed #CBD5E1;
}

.organizations-section {
  background: #F7FAF8;
}
.orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.org-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 16px;
  border: 1.5px solid #E3EDE7;
  border-radius: 12px;
  transition: .2s;
}
.org-card:hover {
  border-color: #16A34A;
  box-shadow: 0 4px 14px rgba(22,163,74,.08);
}
.org-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F0FDF4;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.org-info {
  flex: 1;
  min-width: 0;
}
.org-info strong {
  display: block;
  font-size: .92rem;
  color: #0F3D2E;
  margin-bottom: 2px;
}
.org-info small {
  display: block;
  font-size: .76rem;
  color: #5F6B7A;
  line-height: 1.5;
}
.org-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #F0FDF4;
  color: #15803D;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: .2s;
}
.org-link:hover {
  background: #16A34A;
  color: #fff;
}

@media (max-width: 700px) {
  .neighborhoods-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
  .neighborhood-chip { padding: 8px 12px; font-size: .82rem; }
  .orgs-grid { grid-template-columns: 1fr; }
  .org-card { padding: 12px; }
  .org-icon { width: 38px; height: 38px; font-size: 1.2rem; }
}