/* BE-Posyandu design tokens (dipakai landing & admin) */
:root {
  --bp-primary: #0d9488;
  --bp-primary-700: #0f766e;
  --bp-primary-50: #f0fdfa;
  --bp-primary-100: #ccfbf1;
  --bp-sky: #0ea5e9;
  --bp-sky-50: #f0f9ff;
  --bp-amber: #f59e0b;
  --bp-rose: #e11d48;
  --bp-ink: #0f172a;
  --bp-text: #334155;
  --bp-muted: #64748b;
  --bp-line: #e5eaf1;
  --bp-bg: #f5f7fa;
  --bp-card: #ffffff;
  --bp-radius: 16px;
  --bp-radius-sm: 10px;
  --bp-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05);
  --bp-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}


/* Konten teks kaya (hasil editor) */
.rt-content{line-height:1.75;overflow-wrap:anywhere}
.rt-content p,.rt-content ul,.rt-content ol,.rt-content blockquote,.rt-content h2,.rt-content h3{margin:0 0 .85rem}
.rt-content h1,.rt-content h2,.rt-content h3{line-height:1.3}
.rt-content ul,.rt-content ol{padding-left:1.4rem}
.rt-content blockquote{border-left:4px solid #99e0d6;padding:.2rem 0 .2rem 1rem;color:#475569}
.rt-content a{color:#0f766e;text-decoration:underline}
.rt-content .ql-align-center{text-align:center}.rt-content .ql-align-right{text-align:right}.rt-content .ql-align-justify{text-align:justify}
.rt-content .ql-indent-1{padding-left:3em}.rt-content .ql-indent-2{padding-left:6em}
.rt-wrap .ql-toolbar{border-radius:12px 12px 0 0;border-color:#d8e0e8;background:#f8fafc;position:sticky;top:0;z-index:5}
.rt-wrap .ql-container{border-radius:0 0 12px 12px;border-color:#d8e0e8;font-family:inherit;font-size:1rem}
.rt-wrap .ql-editor{min-height:200px;max-height:520px;overflow-y:auto;line-height:1.7}
.rt-wrap .ql-editor.ql-blank::before{font-style:normal;color:#94a3b8}

/* Bagan struktur Posyandu */
.org{display:flex;flex-direction:column;align-items:stretch}
.org-title{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:var(--bp-muted,#64748b);font-weight:700;text-align:center;margin:0 0 .8rem}
.org-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}
.org-line{width:2px;height:28px;margin:.2rem auto;background:linear-gradient(#99e0d6,#d9f3ef);border-radius:2px}
.org-card{flex:0 1 190px;min-width:150px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1rem .8rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.25rem;box-shadow:0 1px 2px rgba(15,23,42,.04);animation:orgIn .55s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d,0ms);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.org-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px -12px rgba(15,118,110,.35);border-color:#99e0d6}
.org-card b{font-size:.93rem;color:var(--bp-ink,#0f172a);line-height:1.3;overflow-wrap:anywhere}
.org-av{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#14b8a6,#38bdf8);color:#fff;font-weight:800;font-size:1.15rem;display:grid;place-items:center;overflow:hidden;margin-bottom:.35rem;box-shadow:0 0 0 4px #e6f7f5}
.org-av img{width:100%;height:100%;object-fit:cover}
.org-role{font-size:.7rem;font-weight:700;color:#0f766e;background:#e6f7f5;padding:.15rem .65rem;border-radius:999px}
.org-tel{font-size:.78rem;color:#64748b;text-decoration:none}
.org-tier.t1 .org-card{border-color:#99e0d6;background:linear-gradient(180deg,#f2fcfa,#fff)}
.org-empty{text-align:center;color:#64748b;padding:2rem 1rem;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:18px}
@keyframes orgIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (max-width:480px){.org-card{flex:1 1 calc(50% - .4rem);min-width:0}}
@media (prefers-reduced-motion:reduce){.org-card{animation:none;transition:none}}
