.hero--community {
  padding-top: var(--space-12);
}

.community-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
  gap: var(--space-8);
  align-items: center;
}

.community-hero__lead {
  max-width: 44rem;
}

.community-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.community-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.community-hero__media {
  max-width: 480px;
  justify-self: flex-end;
}

.community-hero__frame {
  box-shadow: var(--shadow-neon-primary);
}

.community-forums .card,
.community-review-card,
.community-club-card,
.community-guide-card,
.community-market-card {
  height: 100%;
}

.community-events__grid,
.community-spotlight__grid,
.community-lfg__grid,
.community-setups__grid,
.community-polls__grid {
  align-items: center;
  gap: var(--space-6);
}

.community-events__cta,
.community-spotlight__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.community-lfg__form .form-field:last-of-type {
  margin-bottom: var(--space-3);
}

.community-setups__content ul,
.community-events ul,
.community-guides ul,
.community-rules__content ul {
  margin-top: var(--space-2);
}

.community-rules__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.community-rules__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.community-rules__links li + li {
  margin-top: var(--space-2);
}

.community-cta-final {
  padding-bottom: var(--space-12);
}

.community-cta-final__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(0, 245, 255, 0.14), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 47, 191, 0.12), transparent 55%),
              var(--color-bg-soft);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(91, 141, 255, 0.35);
}

.community-cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .community-hero__inner {
    grid-template-columns: 1fr;
  }

  .community-hero__media {
    justify-self: center;
    order: -1;
  }
}

@media (max-width: 768px) {
  .community-cta-final__inner {
    flex-direction: column;
    text-align: center;
  }

  .community-cta-final__actions {
    justify-content: center;
  }
}
