/* Proposed Community Hub */

.community-hero {
  padding: 5.5rem 0;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(129, 91, 202, 0.16),
      transparent 40%
    ),
    #fbfaff;
}

.community-hero-layout,
.community-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.community-hero h1,
.community-welcome-content h2,
.community-section-heading h2,
.community-feature-copy h2 {
  color: #3b1468;
}

.community-hero h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.98;
}

.community-hero-copy > p {
  max-width: 660px;
  margin: 0;
  font-size: 1.17rem;
  line-height: 1.7;
}

.community-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: #5c00c8;
}

.community-divider i {
  width: 88px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5c00c8);
}

.community-divider i:last-child {
  background: linear-gradient(90deg, #5c00c8, transparent);
}

.community-divider span {
  font-size: 1.55rem;
}

.community-hero-image img,
.community-feature-image img {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(59, 20, 104, 0.16);
}

.community-welcome-section {
  padding: 5rem 0;
  text-align: center;
  background: #ffffff;
}

.community-welcome-content {
  max-width: 800px;
}

.community-welcome-content h2,
.community-section-heading h2,
.community-feature-copy h2 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.community-welcome-content p,
.community-feature-copy p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.75;
}

.community-paths-section {
  padding: 5rem 0;
  background: #f8f4fc;
}

.community-section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.community-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.community-path-card {
  padding: 1.8rem;
  border: 1px solid #e5dbf2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(59, 20, 104, 0.08);
}

.community-path-icon {
  display: inline-block;
  color: #5c00c8;
  font-size: 1.6rem;
}

.community-path-card h3 {
  margin: 0.8rem 0;
  color: #3b1468;
  font-size: 1.35rem;
}

.community-path-card p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
}

.community-path-card a {
  color: #4d167d;
  font-weight: 800;
  text-decoration: none;
}

.community-path-card a span {
  font-size: 1.4rem;
  line-height: 0.6;
}

.community-feature-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.community-feature-copy p + p {
  margin-top: 1.15rem;
}

.community-cta-section {
  padding: 3.4rem 0;
  background: linear-gradient(90deg, #4d167d, #5c00c8);
}

.community-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.community-cta-content .section-eyebrow,
.community-cta-content h2 {
  color: #ffffff;
}

.community-cta-content h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.community-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: #ffffff;
  color: #4d167d;
  font-weight: 800;
  text-decoration: none;
}

.community-cta-button span {
  font-size: 1.6rem;
  line-height: 0.7;
}

@media (max-width: 780px) {
  .community-hero,
  .community-feature-section {
    padding: 4rem 0;
  }

  .community-hero-layout,
  .community-feature-layout,
  .community-paths-grid {
    grid-template-columns: 1fr;
  }

  .community-hero-image {
    max-width: 540px;
    margin: 0 auto;
  }

  .community-cta-content {
    align-items: flex-start;
    flex-direction: column;
  }
}
