/* ── Soest Prikbord ───────────────────────────────────────── */
html, body { overflow-x: hidden; }
.pb-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px 64px; position: relative; z-index: 1; }

/* Subtiele achtergrond-illustraties (parksfeer in de zijmarges) */
.pb-scenery { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pb-scenery svg { position: absolute; color: #b7d8c6; }
.pb-scenery__left  { bottom: 0; left: -10px;  width: 250px; opacity: .5; }
.pb-scenery__right { bottom: 0; right: -10px; width: 280px; opacity: .45; }
.pb-scenery__birds1 { top: 104px; left: 30px;  width: 108px; opacity: .55; }
.pb-scenery__birds2 { top: 168px; right: 64px; width: 86px;  opacity: .5; }
@media (max-width: 1180px) { .pb-scenery { display: none; } }

/* Hero */
.pb-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; border-radius: 18px; padding: 28px 24px; margin: 16px 0 18px;
  position: relative; overflow: hidden;
}
.pb-hero > * { position: relative; z-index: 1; }
.pb-hero::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 -46px 70px -34px rgba(0,0,0,.28), inset 0 60px 80px -50px rgba(255,255,255,.10); }
.pb-hero h1 { font-size: 1.8rem; font-weight: 900; margin: 0 0 6px; letter-spacing: -.02em; }
.pb-hero p  { margin: 0; font-size: .98rem; opacity: .95; max-width: 640px; line-height: 1.5; }
.pb-hero__badge {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: 7px 14px; font-size: .82rem; font-weight: 600;
}
.pb-hero__badge svg { width: 15px; height: 15px; }

/* Dev-melding */
.pb-dev {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff8ec; border: 1px solid #fde3b0; border-radius: 12px;
  padding: 12px 14px; font-size: .85rem; color: #8a5a12; margin-bottom: 18px;
}
.pb-dev > svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.pb-dev span { flex: 1; }
.pb-dev__close {
  flex-shrink: 0; background: none; border: none; cursor: pointer; color: #b07e2a;
  padding: 2px; line-height: 0; border-radius: 6px; margin: -2px -4px 0 4px;
}
.pb-dev__close:hover { background: #fdebc6; color: #8a5a12; }
.pb-dev__close svg { width: 18px; height: 18px; }

/* Sectiekop */
.pb-h2 { font-size: 1.1rem; font-weight: 800; margin: 26px 0 12px; color: var(--text); }
/* Eerste kop strak bovenaan; de sidebar krijgt dezelfde offset zodat de
   "Veilig & gecontroleerd"-kaart exact op gelijke hoogte met de categorie-kaarten begint. */
.pb-cols > div > .pb-h2:first-child { margin: 0 0 14px; line-height: 30px; }
.pb-cols .pb-aside { margin-top: 44px; }

/* Actiekaarten */
.pb-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pb-action {
  display: flex; flex-direction: row; align-items: center; gap: 12px; text-decoration: none;
  min-width: 0;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 16px; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.pb-action:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.pb-action__icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--green-light); color: var(--green);
}
.pb-action__icon svg { width: 21px; height: 21px; }
.pb-action__body { flex: 1; min-width: 0; }
.pb-action h3 { font-size: .95rem; font-weight: 800; margin: 0 0 2px; overflow-wrap: anywhere; }
.pb-action p  { font-size: .8rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.pb-arrow { flex-shrink: 0; color: #c2ccc6; display: grid; place-items: center; }
.pb-arrow svg { width: 18px; height: 18px; }
.pb-action:hover .pb-arrow, .pb-cat:hover .pb-arrow { color: var(--green); }

/* Eén gezamenlijk paneel achter categorieën + sidebar (zodat ze "op 1 deel" staan) */
.pb-section {
  background: #f1f6f3; border: 1px solid #e4ece7; border-radius: 20px;
  padding: 18px; margin-top: 18px;
}

/* Layout: categorieën + zijbalk */
.pb-cols { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }

/* Categoriekaarten */
.pb-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pb-cat {
  display: flex; gap: 11px; align-items: center; text-decoration: none; min-width: 0;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 13px; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.pb-cat:hover { border-color: var(--green); box-shadow: var(--shadow); }
.pb-cat__icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--green-light); color: var(--green);
}
.pb-cat__icon svg { width: 23px; height: 23px; }
.pb-cat__body { min-width: 0; }
.pb-cat h3 { font-size: .9rem; font-weight: 800; margin: 0 0 2px; line-height: 1.25; overflow-wrap: anywhere; }
.pb-cat p  { font-size: .77rem; color: var(--text-muted); margin: 0; line-height: 1.38; }
.pb-cat__count { font-size: .72rem; color: var(--green); font-weight: 700; margin-top: 4px; display: inline-block; }

/* Infoblok "Veilig & gecontroleerd" */
.pb-aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.pb-safe {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 18px;
  overflow: hidden;
}
.pb-safe__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pb-safe__head svg { width: 20px; height: 20px; color: var(--green); }
.pb-safe__head h3 { font-size: 1rem; font-weight: 800; margin: 0; }
.pb-safe ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pb-safe li { display: flex; gap: 9px; font-size: .85rem; color: var(--text); line-height: 1.4; }
.pb-safe li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.pb-safe__illu { margin: 14px 0 -4px; display: block; width: 100%; height: auto; }
.pb-disclaimer {
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 14px;
  font-size: .8rem; color: #7f1d1d; line-height: 1.5;
}
.pb-disclaimer__head { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.pb-disclaimer__head svg { width: 17px; height: 17px; flex-shrink: 0; }
.pb-disclaimer__head strong { font-size: .85rem; }
.pb-disclaimer--info { background: #eff5fc; border-color: #d3e3f5; color: #3f5572; }
.pb-disclaimer--info .pb-disclaimer__head { color: #1e3a5f; margin-bottom: 5px; }
.pb-disclaimer--info .pb-disclaimer__head svg { color: #2563eb; }

/* Prikbordkaarten (berichten) */
.pb-feed { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.pb-post {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 16px;
}
.pb-post__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pb-tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700;
  background: var(--green-light); color: var(--green); border-radius: 999px; padding: 4px 10px;
}
.pb-tag svg { width: 13px; height: 13px; }
.pb-post__code { font-size: .72rem; color: var(--text-muted); font-weight: 700; }
.pb-post__date { font-size: .72rem; color: var(--text-muted); margin-left: auto; }
.pb-post h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 6px; }
.pb-post p { font-size: .88rem; color: var(--text); margin: 0 0 12px; line-height: 1.5; }
.pb-post__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pb-post__where { font-size: .8rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.pb-post__where svg { width: 14px; height: 14px; }

.pb-empty {
  background: var(--surface); border: 1.5px dashed var(--border); border-radius: 14px;
  padding: 28px 20px; text-align: center; color: var(--text-muted); font-size: .9rem;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pb-empty__illu { width: 150px; height: auto; opacity: .9; }

/* Filterpills */
.pb-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.pb-filter {
  font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--text-muted);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.pb-filter:hover { border-color: var(--green); color: var(--green); }
.pb-filter.is-active { background: var(--green); border-color: var(--green); color: #fff; }

/* Knoppen */
.pb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--green); color: #fff; border: none; border-radius: 10px;
  padding: 10px 18px; font-size: .9rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.pb-btn:hover { background: var(--green-dark); }
.pb-btn--ghost { background: #fff; color: var(--green); border: 1.5px solid var(--border); }
.pb-btn--ghost:hover { background: var(--green-light); border-color: var(--green); }
.pb-btn--sm { padding: 7px 13px; font-size: .82rem; }

/* Formulier */
.pb-form { max-width: 640px; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 22px; }
.pb-field { margin-bottom: 16px; }
.pb-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.pb-field label .pb-opt { font-weight: 400; color: var(--text-muted); }
.pb-field input[type=text], .pb-field input[type=email], .pb-field input[type=tel],
.pb-field select, .pb-field textarea {
  width: 100%; box-sizing: border-box; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 12px; font-size: .92rem; font-family: inherit; color: var(--text); background: #fff;
}
.pb-field input:focus, .pb-field select:focus, .pb-field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,107,60,.1);
}
.pb-field textarea { min-height: 120px; resize: vertical; }
.pb-hint { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }
.pb-note {
  display: none; gap: 9px; align-items: flex-start; background: var(--green-light);
  border: 1px solid #b7e0ca; border-radius: 10px; padding: 11px 13px; font-size: .82rem;
  color: var(--green-dark); margin-bottom: 16px; line-height: 1.45;
}
.pb-note.is-on { display: flex; }
.pb-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.pb-check { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; font-size: .85rem; line-height: 1.45; }
.pb-check input { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--green); }
.pb-alert { border-radius: 10px; padding: 12px 14px; font-size: .88rem; margin-bottom: 16px; }
.pb-alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.pb-alert--ok  { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }

/* Detail (reageren) */
.pb-detail { max-width: 640px; }
.pb-detail .pb-post { margin-bottom: 18px; }

@media (max-width: 980px) {
  .pb-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pb-cols { grid-template-columns: 1fr; }
  .pb-aside { position: static; }
  .pb-cols .pb-aside { margin-top: 8px; }
  .pb-actions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pb-hero { padding: 22px 18px; }
  .pb-hero h1 { font-size: 1.4rem; }
  /* Actiekaarten als 2x2: icoon bovenaan, tekst eronder (volle breedte) */
  .pb-actions { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pb-action { flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px; }
  .pb-action .pb-arrow { display: none; }
  .pb-cats { grid-template-columns: 1fr; }
  .pb-form { padding: 18px 16px; }
}
