/* Guest invitations to make a profile (functions_guest_cta.php). Tokens only, so dark mode follows. */
.bc-gcta {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  margin: -10px 4px 26px; /* lines up with the hero above */
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--bc-surface);
  box-shadow: 0 0 0 1px var(--bc-line), var(--bc-shadow-2);
  overflow: hidden;
  animation: bc-rise 0.6s var(--bc-ease) 0.1s backwards;
}
.bc-gcta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bc-brand-grad); }
.bc-gcta-ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(91, 75, 209, 0.1); color: var(--bc-accent); font-size: 18px;
}
.bc-gcta-title { font-size: 16px; font-weight: 750; letter-spacing: -0.015em; line-height: 1.3; color: var(--bc-ink); }
.bc-gcta-sub { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--bc-muted); }
.bc-gcta-extra { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.bc-gcta-extra a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--bc-accent) !important; text-decoration: none; }
.bc-gcta-extra a i { font-size: 11px; opacity: 0.85; }
.bc-gcta-extra a:hover { text-decoration: underline; }
.bc-gcta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.bc-gcta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; font-size: 13.5px; font-weight: 650; white-space: nowrap; text-decoration: none;
  color: var(--bc-ink-2) !important; background: var(--bc-surface); box-shadow: inset 0 0 0 1px var(--bc-line-strong);
  transition: transform 0.15s var(--bc-ease);
}
.bc-gcta-btn.is-primary { color: var(--bc-on-ink) !important; background: var(--bc-ink); box-shadow: 0 8px 18px -10px rgba(11, 11, 16, 0.7); }
.bc-gcta-btn i { font-size: 11px; }
.bc-gcta-btn:hover { transform: translateY(-1px); }
@media (max-width: 720px) {
  .bc-gcta { grid-template-columns: 40px minmax(0, 1fr); padding: 14px 16px; margin-top: -14px; }
  .bc-gcta-ico { width: 40px; height: 40px; font-size: 16px; }
  .bc-gcta-actions { grid-column: 1 / -1; justify-content: stretch; }
  .bc-gcta-actions .bc-gcta-btn { flex: 1 1 auto; }
}

/* Team, event and forum pages: one quiet line above the footer */
.bc-gcta-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  max-width: 1120px; margin: 28px auto 18px; padding: 14px 18px; border-radius: 18px;
  background: var(--bc-surface-2); box-shadow: inset 0 0 0 1px var(--bc-line);
  font-size: 13.5px; line-height: 1.45; color: var(--bc-muted);
}
.bc-gcta-foot b { color: var(--bc-ink); font-weight: 700; }
.bc-gcta-foot-text { flex: 1 1 320px; }
.bc-gcta-foot-actions { display: flex; align-items: center; gap: 14px; }
.bc-gcta-link { font-weight: 650; color: var(--bc-accent) !important; text-decoration: none; }
@media (max-width: 1150px) { .bc-gcta-foot { margin-left: 16px; margin-right: 16px; } }
@media (max-width: 520px) { .bc-gcta-foot-actions { width: 100%; } .bc-gcta-foot-actions .bc-gcta-btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .bc-gcta { animation: none; } }

/* Vote card for guests: why, then sign up or log in */
.bc-gcta-vote p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--bc-muted); }
.bc-gcta-vote .bc-gcta-actions { justify-content: flex-start; }
.bc-gcta-vote .bc-gcta-btn { flex: 1 1 auto; }
