/* Moved from app/views/users/show.html.erb in B2, scoped to .ctx-public. Rebuilt in its own phase. */
.ctx-public .user-page {
    padding: var(--space-xl) 0;
  }
.ctx-public .user-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
  }
@media (min-width: 480px) {
.ctx-public .user-header {
      flex-direction: row;
      text-align: left;
    }
}
.ctx-public .avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--muted);
    color: var(--muted-foreground);
    font-weight: 600;
    font-size: 32px;
  }
.ctx-public .user-name {
    margin-bottom: var(--space-xs);
    color: var(--ink);
    overflow-wrap: anywhere;
  }
.ctx-public .user-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 14px;
  }
.ctx-public .user-stats {
    margin-bottom: var(--space-xl);
  }
.ctx-public .user-stats__grid {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
  }
.ctx-public .user-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }
.ctx-public .user-stats__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--foreground);
  }
.ctx-public .user-stats__label {
    font-size: 14px;
    color: var(--muted-foreground);
  }
.ctx-public .user-section {
    margin-bottom: var(--space-xl);
  }
.ctx-public .clubs-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
.ctx-public .club-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-decoration: none;
    transition: box-shadow var(--motion-fast);
  }
.ctx-public .club-card:hover {
    box-shadow: var(--shadow-lg);
  }
.ctx-public .club-card__name {
    font-weight: 600;
    color: var(--foreground);
  }
.ctx-public .user-cta {
    text-align: center;
    padding: var(--space-xl);
  }
.ctx-public .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }
.ctx-public .post-card {
    display: flex;
    flex-direction: column;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--motion-normal) var(--motion-ease);
  }
.ctx-public .post-card:hover {
    
    border-color: var(--line);
    box-shadow: var(--shadow-md);
  }
.ctx-public .post-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--background);
  }
.ctx-public .post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-slow) ease;
  }
.ctx-public .post-card:hover .post-card__image img {
    
  }
.ctx-public .post-card__content {
    padding: var(--space-md);
    flex: 1;
  }
.ctx-public .post-card__caption {
    font-size: 14px;
    line-height: 1.4;
    color: var(--foreground-muted);
    margin-bottom: var(--space-sm);
  }
.ctx-public .post-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted-foreground);
  }
.ctx-public .post-card__engagement {
    display: flex;
    align-items: center;
    gap: 4px;
  }
.ctx-public .post-card__cta {
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
  }
.ctx-public .posts-cta {
    text-align: center;
  }
@media (max-width: 480px) {
.ctx-public .posts-grid {
      grid-template-columns: repeat(2, 1fr);
    }
}
