.community-hero {
  position: relative;
  overflow: hidden;
}

.community-hero__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at top, rgba(246, 179, 97, 0.1), transparent 55%), linear-gradient(120deg, #050607 0%, #101316 40%, #050607 100%);
  opacity: 0.9;
  z-index: -2;
}

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

.community-hero__content {
  max-width: 640px;
}

.community-hero__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
}

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

.community-hero__image-wrapper {
  max-width: 420px;
  justify-self: flex-end;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.community-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-section-header {
  max-width: 700px;
  margin-inline: auto;
}

.community-meetups-grid {
  align-items: flex-start;
}

.community-journey {
  display: grid;
  gap: var(--space-4);
  padding-left: 0;
}

.community-journey h4 {
  font-size: var(--font-size-base);
  margin-bottom: 0.35rem;
}

.community-bullets {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--color-text-muted);
}

.community-bullets li::marker {
  color: var(--color-accent-amber);
}

.community-cta-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

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

.community-atmosphere-media__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.community-atmosphere-media__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-pillars {
  margin-top: var(--space-4);
}

.community-etiquette-list {
  display: grid;
  gap: 0.75rem;
  color: var(--color-text-muted);
}

.community-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.community-gallery__item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-bg-elevated);
  box-shadow: var(--shadow-soft);
}

.community-gallery__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.community-gallery__item figcaption {
  padding: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.community-story-grid {
  align-items: flex-start;
}

.community-testimonials-grid {
  align-items: stretch;
}

.community-testimonial__text {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
}

.community-initiatives-grid {
  align-items: flex-start;
  gap: var(--space-8);
}

.community-join-card {
  align-self: stretch;
}

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

.community-consent-row {
  margin-top: var(--space-2);
}

.community-checkbox-label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.community-checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
}

.community-privacy-note {
  font-size: var(--font-size-xs);
}

.community-atmosphere {
  position: relative;
}

.community-testimonials {
  position: relative;
}

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

  .community-hero__image-wrapper {
    order: -1;
    max-width: 520px;
    justify-self: center;
  }

  .community-hero__content {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .community-hero__inner {
    gap: var(--space-6);
  }

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

  .community-atmosphere-grid,
  .community-initiatives-grid {
    gap: var(--space-6);
  }
}
