/* Social Activity tab — link card styling (same visual component as
   Notifications' subgroup cards, kept as its own copy so this tab's look can
   diverge later without affecting Notifications). */

.subgroup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.subgroup-card {
  display: block;
  background: var(--cream);
  border: 1px solid #eadfc9;
  border-radius: 22px 22px 22px 6px;
  padding: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.subgroup-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(90,30,20,0.12); }
.subgroup-emoji { font-size: 26px; }
.subgroup-card h5 { margin: 8px 0 4px; color: var(--maroon); font-family: 'Playfair Display', serif; font-size: 16px; }
.subgroup-card p { margin: 0 0 10px; font-size: 13px; color: #5c503c; }
.join-btn {
  display: inline-block;
  background: var(--maroon);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Gold accent matching the "Celebration" nav group — ID-scoped so it only
   affects this tab's cards, not Notifications' identically-named ones. */
#social .subgroup-card {
  background: rgba(201,162,39,0.08);
  border-color: rgba(201,162,39,0.4);
}
#social .subgroup-card:hover {
  box-shadow: 0 10px 24px rgba(201,162,39,0.25);
}
#social .join-btn {
  background: var(--gold);
  color: var(--maroon-dark);
}
