/* ============ Сообщества ============ */
.community-hero {
  padding: clamp(40px, 5vw, 76px) 0 clamp(20px, 3vw, 34px);
  background:
    radial-gradient(620px 380px at 90% -10%, rgba(246, 197, 107, .3), transparent 70%),
    var(--bg);
}
.community-hero h1 { margin-bottom: 16px; }
.community-hero .lead { max-width: 46em; margin-bottom: 20px; }

.community-rules { padding: 10px 0 clamp(26px, 4vw, 44px); }
.community-rules h2 { margin-bottom: 18px; }
.community-rules-grid { grid-template-columns: repeat(5, 1fr); }

.community-list { padding: 0 0 clamp(40px, 5vw, 64px); }
.community-list > .container > h2 { margin-bottom: 18px; }

.comm-group {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.comm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.comm-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.comm-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.comm-name { font-weight: 800; font-size: 1.05rem; color: var(--brand); }
.comm-lang {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px 9px;
}
.comm-what { margin: 0 0 8px; font-size: .9rem; color: var(--ink); }
.comm-use { margin: 0 0 8px; font-size: .84rem; color: var(--muted); }
.comm-use b { color: var(--ink); }
.comm-warn {
  margin: 0 0 12px;
  font-size: .8rem;
  color: #8A3A18;
  background: var(--accent-soft);
  border-radius: 9px;
  padding: 8px 10px;
}
.comm-warn b { color: #6E2C12; }
.comm-card a { margin-top: auto; font-size: .86rem; font-weight: 600; }

.comm-local {
  margin-top: 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
}
.comm-local h3 { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 8px; }
.comm-local p { font-size: .9rem; color: var(--muted); }
.comm-local ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.comm-local em { font-style: normal; color: var(--brand); font-weight: 600; }

.community-redflags { padding: 0 0 clamp(50px, 6vw, 80px); }
.redflags-card {
  background: #FFF7F3;
  border: 1px solid #EFC3B1;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px);
}
.redflags-card h2 { margin-bottom: 14px; color: #6E2C12; }
.redflags-card ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 7px; font-size: .92rem; color: var(--muted); }
.redflags-card p { margin: 0; font-size: .86rem; color: var(--muted); }
.redflags-card a { font-weight: 600; }

@media (max-width: 1080px) {
  .community-rules-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .comm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .community-rules-grid { grid-template-columns: 1fr; }
}
