/**
 * BridgeWorks — Pagina guida Community (area candidato)
 * Estende come_funziona.css con adattamenti per candidate shell.
 */

body.community-guide-page.candidate-tools-page .bw-community-guide {
  max-width: none;
  padding: 0;
}

body.community-guide-page.candidate-tools-page .how-page-hero {
  padding: 2rem 0 2.5rem;
  background: transparent;
}

body.community-guide-page.candidate-tools-page .how-block {
  padding: 3rem 0;
}

body.community-guide-page.candidate-tools-page .how-block .container,
body.community-guide-page.candidate-tools-page .how-page-hero .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
}

body.community-guide-page .how-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

body.community-guide-page .how-value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.05);
}

body.community-guide-page .how-value-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
}

body.community-guide-page .how-value-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

body.community-guide-page .how-community-cta {
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  body.community-guide-page.candidate-tools-page .how-page-anchors {
    justify-content: flex-start;
  }
}
