/* Community standards page — extends site-theme.css */

.community-hero .page-hero-inner {
  max-width: 680px;
}

.community-lead {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto var(--space-stack-lg);
}

.community-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.community-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.community-chip svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.community-intro p {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: var(--space-stack);
}

.community-pull {
  margin: var(--space-stack-lg) 0;
  padding: 24px 28px;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: white;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.community-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-stack);
}

.community-standard-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.community-standard-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.community-standard-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.community-standard-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.community-standard-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.community-standard-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.community-standard-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
}

.community-standard-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.community-standard-card .community-note {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

.community-zero-tolerance {
  background: linear-gradient(160deg, #06361b 0%, #0a5a2c 50%, #0f7a3d 100%);
  color: rgba(255, 255, 255, 0.92);
}

.community-zero-tolerance h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-stack);
  text-align: center;
}

.community-zero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-stack-lg);
  display: grid;
  gap: 12px;
}

.community-zero-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  line-height: 1.55;
}

.community-zero-list li::before {
  content: "×";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 143, 171, 0.2);
  color: #ffb4c4;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.community-zero-tolerance > .wrap > p {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto;
}

.community-closing-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.community-closing-prose {
  padding: var(--space-card) calc(var(--space-card) + 4px);
}

.community-closing-prose h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.community-closing-prose p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.community-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fafbfc;
  border-left: 1px solid var(--border);
  border-radius: 0;
  padding: var(--space-card);
  box-shadow: none;
}

.community-contact-card h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.community-contact-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--space-stack);
}

.community-contact-card .btn {
  width: 100%;
  margin-top: auto;
}

.community-pre-footer {
  padding-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .community-standard-card {
    transition: none;
  }

  .community-standard-card:hover {
    transform: none;
  }
}

@media (max-width: 820px) {
  .community-standards-grid,
  .community-closing-panel {
    grid-template-columns: 1fr;
  }

  .community-contact-card {
    border-left: none;
    border-top: 1px solid var(--border);
  }

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

  .community-chip {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .community-pull {
    padding: 20px 22px;
  }
}
