/* Moved from app/views/clubs/show.html.erb in B2, scoped to .ctx-public. Rebuilt in its own phase. */
.ctx-public .club-page {
    padding-bottom: var(--space-xxl);
  }
.ctx-public .activity-section {
    overflow: hidden;
  }
.ctx-public .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 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: 16 / 10;
    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__author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
  }
.ctx-public .post-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
    background: var(--secondary);
  }
.ctx-public .post-card__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    color: var(--foreground-muted);
  }
.ctx-public .post-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
.ctx-public .post-card__author-name {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
  }
.ctx-public .post-card__time {
    font-size: 12px;
    color: var(--muted-foreground);
  }
.ctx-public .post-card__caption {
    font-size: 14px;
    line-height: 1.5;
    color: var(--foreground-muted);
    margin-bottom: var(--space-sm);
  }
.ctx-public .post-card__engagement {
    display: flex;
    gap: var(--space-md);
    font-size: 13px;
    color: var(--muted-foreground);
  }
.ctx-public .post-card__likes,
.ctx-public .post-card__comments {
    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 .activity-section__cta {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
  }
.ctx-public .tournaments-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
  }
.ctx-public .tournament-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--muted);
    text-decoration: none;
    color: inherit;
    transition: background var(--motion-fast) var(--motion-ease);
  }
.ctx-public .tournament-row:hover {
    background: var(--secondary);
  }
.ctx-public .tournament-row__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
  }
.ctx-public .tournament-row__name {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
.ctx-public .tournament-row__meta {
    font-size: 13px;
    color: var(--muted-foreground);
  }
.ctx-public .tournament-row__right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
  }
.ctx-public .badge-live {
    background: var(--surface-2);
    color: var(--win);
    border: 1px solid var(--line);
  }
.ctx-public .badge-completed {
    background: var(--muted);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
  }
.ctx-public .badge-upcoming {
    background: var(--surface-2);
    color: var(--ink-2);
    border: 1px solid var(--line);
  }
.ctx-public .tournament-row--hidden {
    display: none;
  }
.ctx-public .tournaments-show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: var(--space-md);
    margin-top: var(--space-sm);
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--motion-fast) var(--motion-ease);
  }
.ctx-public .tournaments-show-all:hover {
    background: var(--muted);
    border-color: var(--primary);
  }
.ctx-public .tournaments-show-all svg {
    transition: transform var(--motion-fast) var(--motion-ease);
  }
@media (max-width: 640px) {
.ctx-public .posts-grid {
      grid-template-columns: 1fr;
    }
.ctx-public .tournament-row {
      padding: var(--space-sm) var(--space-md);
    }
}
