.community-hero {
  background:
    linear-gradient(110deg, rgba(6, 45, 49, 0.96) 0%, rgba(6, 45, 49, 0.84) 54%, rgba(6, 45, 49, 0.42) 100%),
    url("/assets/kangaroute-arrival.jpg") center 44% / cover;
  color: #fff;
  padding: 96px 24px 76px;
}

.community-hero-inner,
.community-section-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.community-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.94;
  max-width: 920px;
}

.community-hero .lede {
  max-width: 760px;
}

.community-state {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  margin-top: 30px;
  max-width: 760px;
  padding: 20px;
}

.community-state p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.community-state .button {
  background: var(--sun);
  border-color: var(--sun);
  color: #252015;
  margin-bottom: 12px;
}

.community-state .button:hover,
.community-state .button:focus-visible {
  background: #ffc462;
  border-color: #ffc462;
  color: #252015;
}

.community-section {
  padding: 72px 24px;
}

.community-section.alt {
  background: #e8f3f2;
}

.community-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.community-card,
.community-notice,
.community-rules {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.community-card-number {
  align-items: center;
  background: rgba(32, 128, 108, 0.12);
  border-radius: 999px;
  color: var(--eucalypt);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 840;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.community-card p,
.community-notice p,
.community-rules li {
  color: var(--muted);
}

.community-split {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1fr);
}

.community-rules ol {
  margin: 0;
  padding-left: 22px;
}

.community-rules li + li {
  margin-top: 12px;
}

.community-notice {
  background: var(--surface-warm);
  border-color: #ecd7ac;
  margin-top: 24px;
}

.community-download {
  align-items: center;
  background: var(--deep);
  border-radius: 12px;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 30px;
}

.community-download img {
  border-radius: 18px;
}

.community-download p {
  color: rgba(255, 255, 255, 0.78);
}

.community-download .text-links a {
  color: #fff;
}

.community-download .text-links a:hover,
.community-download .text-links a:focus-visible {
  color: var(--sun);
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .community-grid,
  .community-split {
    grid-template-columns: 1fr;
  }

  .community-download {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 22px;
  }

  .community-hero,
  .community-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}
