body {
  background-attachment: fixed;
}

.community-hero {
  position: relative;
}

.community-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(79, 209, 197, 0.2), transparent 70%);
  pointer-events: none;
}

.community-hero-grid {
  align-items: center;
  gap: var(--space-16);
}

.community-hero-text {
  position: relative;
  z-index: 1;
}

.community-hero-subtitle {
  font-size: var(--font-size-lg);
}

.community-hero-media {
  padding: var(--space-10);
}

.community-hero-figure,
.community-gallery-figure,
.community-events-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.community-hero-image,
.community-gallery-image,
.community-events-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.community-hero-caption,
.community-gallery-caption,
.community-events-caption {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.community-section-header {
  text-align: left;
}

.community-grid {
  gap: var(--space-12);
}

.community-card {
  height: 100%;
}

.community-list {
  margin: 0 0 var(--space-4);
  padding-left: 1.1rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

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

.community-gallery {
  position: relative;
}

.community-gallery-grid,
.community-events-grid,
.community-feedback-grid,
.community-guidelines-grid {
  gap: var(--space-16);
  align-items: flex-start;
}

.community-gallery-media,
.community-events-media {
  padding: var(--space-8);
}

.community-events-card {
  margin-top: var(--space-6);
}

.community-feedback-form-wrapper {
  padding: var(--space-10);
}

.community-feedback-form .btn {
  margin-top: var(--space-4);
}

.community-safety .notice + .notice {
  margin-top: var(--space-6);
}

.community-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-16);
}

.community-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

@media (max-width: 960px) {
  .community-hero-grid,
  .community-gallery-grid,
  .community-events-grid,
  .community-feedback-grid,
  .community-guidelines-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .community-feedback-form-wrapper,
  .community-hero-media,
  .community-gallery-media,
  .community-events-media {
    padding: var(--space-8);
  }

  .community-cta-inner {
    padding: var(--space-12);
    text-align: left;
  }
}

@media (max-width: 640px) {
  .community-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .community-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .community-feedback-form-wrapper {
    padding: var(--space-8);
  }
}
