/* ============================================
   COMMUNITY PAGE — Divided Sky
   ============================================ */

/* --- Hero --- */
.comm-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.comm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.comm-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.55);
  z-index: 1;
}
.comm-hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}
.comm-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.comm-hero-sub {
  font-size: 1.15rem;
  color: var(--ds-gray-400, #aaa);
  max-width: 580px;
  line-height: 1.6;
}

/* --- Mission --- */
.comm-mission {
  padding: 80px 0;
  background: var(--ds-dark, #0f0f0f);
}
.comm-mission-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.comm-mission-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.comm-mission-text p {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.comm-mission-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.comm-stat {
  background: var(--ds-dark-card, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--ds-green, #77e806);
  border-radius: 12px;
  padding: 24px 28px;
  transition: transform 0.3s ease;
}
.comm-stat:hover {
  transform: translateX(4px);
}
.comm-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ds-green, #77e806);
  margin-bottom: 4px;
}
.comm-stat-label {
  color: var(--ds-gray-400, #aaa);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Partners --- */
.comm-partners {
  padding: 80px 0;
  background: var(--ds-darker, #0a0a0a);
}
.comm-partners-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.comm-partners-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.comm-partners-header p {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.05rem;
  line-height: 1.6;
}
.comm-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.comm-partner-card {
  background: var(--ds-dark-card, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.comm-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(119,232,6,0.2);
}
.comm-partner-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.comm-partner-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.comm-partner-card p {
  color: var(--ds-gray-400, #aaa);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Highlight --- */
.comm-highlight {
  padding: 80px 0;
  background: var(--ds-dark, #0f0f0f);
}
.comm-highlight-card {
  background: var(--ds-dark-card, #1a1a1a);
  border: 1px solid rgba(119,232,6,0.15);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.comm-highlight-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.comm-highlight-content p {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CTA --- */
.comm-cta {
  padding: 80px 0;
  background: var(--ds-darker, #0a0a0a);
  text-align: center;
}
.comm-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.comm-cta > .ds-container > p {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.comm-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .comm-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .comm-partners-grid {
    grid-template-columns: 1fr;
  }
  .comm-highlight-card {
    padding: 36px 24px;
  }
  .comm-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .comm-hero-overlay {
    background: rgba(25, 25, 25, 0.45);
  }
}
