@import url("../base/normalize.css");
@import url("../base/tokens.css");
@import url("../base/base.css");
@import url("../components/header.css");
@import url("../components/nav.css");
@import url("../components/footer.css");
@import url("../components/hero.css");
@import url("../components/cards.css");
@import url("../components/call-to-action.css");
@import url("../components/gradient.css");
@import url("../components/ripple.css");

/* Community Page Specific Styles */
.community-page .rc-h1 {
  font-weight: 900;
  color: #111;
  text-transform: capitalize;
}

.community-hero {
  background:
    radial-gradient(980px 360px at 8% -4%,
      rgba(251, 146, 60, 0.24),
      transparent 62%),
    radial-gradient(860px 340px at 94% 14%,
      rgba(59, 130, 246, 0.2),
      transparent 64%),
    radial-gradient(620px 260px at 50% 88%,
      rgba(244, 63, 94, 0.14),
      transparent 72%),
    linear-gradient(128deg, #fff6ec 0%, #eef6ff 48%, #fff1f6 100%);
}

.community-hero .community-hero__content .rc-kicker,
.community-hero .community-hero__content .rc-h1,
.community-hero .community-hero__content .rc-lead {
  color: #111;
}

.community-hero .rc-hero__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.community-hero__media {
  border-radius: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.community-hero__image {
  display: block;
  width: 75%;
  height: auto;
  margin-inline: auto;
}

.community-split,
.community-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.community-split .rc-row {
  margin-top: 2rem;
}

.community-split .rc-fine {
  margin-bottom: 2rem;
}

.community-cta-grid {
  grid-template-columns: minmax(280px, 450px) minmax(0, 1fr);
  gap: 3rem;
  margin-inline: auto;
  padding: 2rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    var(--rc-background-digital-sky);
  box-shadow: 0 12px 28px rgba(15, 39, 71, 0.08);
}

.community-split__media,
.community-cta-grid__media {
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.community-split__image,
.community-cta-grid__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.community-split__content {
  padding-right: 2rem;
}

.community-cta-grid__media {
  margin: 0;
}

.community-cta-grid__image {
  border-radius: 1.25rem;
}

.community-cta-grid__content {
  text-align: left;
}

.community-split__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: #f8fafc;
}

.community-split__logo {
  width: min(100%, 220px);
  height: auto;
  padding: 4rem 0;
}

.community-note-spacing {
  margin-top: 16px;
}

.community-cta-grid__content .rc-row {
  margin-top: 0.75rem;
  justify-content: flex-start;
}

.community-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.community-card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.community-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.1);
  transform: translateY(-4px);
}

.community-card__image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #f3f4f6;
}

.community-card__content {
  padding: 1.5rem;
}

.community-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fb923c;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.community-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.community-card__description {
  font-size: 0.9375rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.community-card__meta {
  font-size: 0.75rem;
  color: #999;
  display: flex;
  gap: 1rem;
}

.community-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.community-section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #111;
}

.community-section-header p {
  font-size: 1.0625rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.community-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.community-value-item {
  text-align: center;
}

.community-value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.community-value-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
}

.community-value-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.community-testimonial {
  background: #f9fafb;
  border-left: 4px solid #fb923c;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.community-testimonial__quote {
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.community-testimonial__author {
  font-weight: 700;
  color: #111;
  font-size: 0.9375rem;
}

.community-testimonial__role {
  font-size: 0.8125rem;
  color: #999;
  font-weight: 500;
}

/* =====================================================
   Utility Classes for Common Patterns
===================================================== */
.rc-bullets {
  margin-top: .455rem;
}

.rc-bullets li {
  margin-bottom: 0.875rem;
  padding-bottom: .25rem;
  border-bottom: thin dashed rgba(0, 0, 0, .4);
}

.community-bg-light {
  background: #f9fafb;
}

.community-container-narrow {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.community-section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
}

.community-section-lead {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  color: #666;
}

.community-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Card Meta Styling */
.community-card-meta {
  font-size: 0.875rem;
  color: #999;
  margin-top: 1rem;
  display: inline-block;
}

.community-card-link {
  display: inline-block;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .community-featured {
    grid-template-columns: 1fr;
  }

  .community-values {
    grid-template-columns: 1fr;
  }

  .community-section-header h2 {
    font-size: 1.5rem;
  }

  .community-cta-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .community-cta-grid__content {
    text-align: center;
  }

  .community-cta-grid__content .rc-row {
    justify-content: center;
  }
}

@media (min-width: 900px) {

  .community-hero .rc-hero__inner,
  .community-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .community-split--logo {
    grid-template-columns: 0.9fr 1.1fr;
  }
}