{"id":20871,"date":"2026-05-25T09:31:25","date_gmt":"2026-05-25T09:31:25","guid":{"rendered":"https:\/\/oracomgroup.co.ke\/vocalafrica\/?page_id=20871"},"modified":"2026-05-28T08:32:44","modified_gmt":"2026-05-28T08:32:44","slug":"kenyan-cases","status":"publish","type":"page","link":"https:\/\/oracomgroup.co.ke\/vocalafrica\/kenyan-cases\/","title":{"rendered":"Kenyan Cases"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"20871\" class=\"elementor elementor-20871\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<div class=\"elementor-section elementor-top-section elementor-element elementor-element-e73b8bf elementor-section-stretched elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"e73b8bf\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-614ead4\" data-id=\"614ead4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d3af9f elementor-widget elementor-widget-heading\" data-id=\"7d3af9f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Reported Cases<\/h2>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-82bd357 e-flex e-con-boxed e-con e-parent\" data-id=\"82bd357\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-65078be vocal-subtitle3 elementor-invisible elementor-widget elementor-widget-text-editor\" data-id=\"65078be\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeIn&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Kenyan Cases<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a0e7e3b e-flex e-con-boxed e-con e-parent\" data-id=\"a0e7e3b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c9f3fa8 elementor-widget__width-initial elementor-widget-mobile__width-initial elementor-invisible elementor-widget elementor-widget-text-editor\" data-id=\"c9f3fa8\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeIn&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\tThrough its Rapid Response Department, VOCAL Africa documents, supports and advocates for justice on human rights cases across Africa. Our documented cases include extra judicial\nkillings, femicide, enforced disappearances, police brutality, abduction, gender-based violence and other serious violations targeting individuals, youth, women and communities in general.<br>\nVOCAL Africa has responded to dozens of critical incidents in Kenya, providing immediate documentation, family support, media amplification and sustained advocacy for accountability and judicial intervention. Fully aligned with our Access to Justice priority, these cases form the heart of VOCAL Africa\u2019s work, turning individual violations into collective action for systemic change, rights protection and the dignity of African people.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d924d7a elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"d924d7a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-section elementor-top-section elementor-element elementor-element-e046d9d elementor-section-stretched animated-fast elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-invisible\" data-id=\"e046d9d\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;animation&quot;:&quot;opal-move-up&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9d8ea88\" data-id=\"9d8ea88\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c15c2d0 elementor-widget elementor-widget-shortcode\" data-id=\"c15c2d0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><style>\n@import url('https:\/\/fonts.googleapis.com\/css2?family=DM+Sans:wght@400;500;600;700&display=swap');\n\n.acm-wrap * { box-sizing: border-box; font-family: 'DM Sans', system-ui, sans-serif; }\n\n\/* \u2500\u2500 LAYOUT: map + table side by side \u2500\u2500 *\/\n.acm-container {\n    display: flex;\n    flex-direction: row;\n    flex-wrap: nowrap;\n    align-items: flex-start;\n    gap: 25px;\n    margin-bottom: 30px;\n    width: 100%;\n    \/* prevent the row from ever overflowing the page *\/\n    min-width: 0;\n}\n\n.acm-map-column {\n    flex: 0 0 45%;\n    min-width: 0;\n    max-width: 45%;\n}\n\n\/* Table column: flex-grows to fill the rest; overflow-x so the\n   inner table can scroll horizontally without blowing out the row *\/\n.acm-table-column {\n    flex: 1 1 0%;\n    min-width: 0;          \/* critical \u2014 lets flex shrink below content size *\/\n    overflow-x: auto;\n}\n\n.acm-map-el {\n    height: 620px;\n    border: 1px solid #dde8e2;\n    border-radius: 14px;\n    background: #e8e8e8;\n    width: 100%;\n}\n\n\/* Stack on narrow screens *\/\n@media (max-width: 900px) {\n    .acm-container {\n        flex-direction: column;\n    }\n    .acm-map-column {\n        flex: none;\n        width: 100%;\n        max-width: 100%;\n    }\n    .acm-table-column {\n        width: 100%;\n    }\n}\n\n\/* \u2500\u2500 TABLE \u2500\u2500 *\/\n.acm-table-scroll {\n    width: 100%;\n    overflow-x: auto;\n    -webkit-overflow-scrolling: touch;\n    border-radius: 16px;\n    box-shadow: 0 4px 24px rgba(17,89,48,.12), 0 1px 4px rgba(0,0,0,.06);\n    background: #fff;\n}\n.acm-modern-table {\n    width: 100%;\n    min-width: 560px;\n    border-collapse: collapse;\n    font-size: 14px;\n    background: #fff;\n    table-layout: fixed;\n}\n\n.acm-modern-table colgroup col:nth-child(1) { width: 28%; }\n.acm-modern-table colgroup col:nth-child(2) { width: 14%; }\n.acm-modern-table colgroup col:nth-child(3) { width: 12%; }\n.acm-modern-table colgroup col:nth-child(4) { width: 13%; }\n.acm-modern-table colgroup col:nth-child(5) { width: 22%; }\n.acm-modern-table colgroup col:nth-child(6) { width: 11%; }\n\n.acm-modern-table thead tr {\n    background: linear-gradient(135deg, #115930 0%, #1a7a45 60%, #b22025 160%);\n}\n.acm-modern-table th {\n    padding: 14px 14px;\n    text-align: left;\n    font-weight: 700;\n    font-size: 10.5px;\n    letter-spacing: .1em;\n    text-transform: uppercase;\n    white-space: nowrap;\n    color: rgba(255,255,255,.9);\n    border-bottom: none;\n}\n.acm-modern-table th:first-child { border-radius: 16px 0 0 0; }\n.acm-modern-table th:last-child  { border-radius: 0 16px 0 0; }\n\n.acm-modern-table tbody tr { transition: background .15s, transform .1s; }\n.acm-modern-table tbody tr:nth-child(odd)  { background: #fff; }\n\/* Even rows: very faint red tint instead of green *\/\n.acm-modern-table tbody tr:nth-child(even) { background: #fff8f8; }\n.acm-modern-table tbody tr:hover {\n    background: #fef2f2;\n    transform: scale(1.002);\n    box-shadow: 0 2px 12px rgba(178,32,37,.07);\n    position: relative;\n    z-index: 1;\n}\n\n\/* Left border: red on odd rows, thicker red on hover *\/\n.acm-modern-table tbody tr td:first-child {\n    border-left: 3px solid #b2202533; \/* red at 20% opacity *\/\n    transition: border-color .15s;\n}\n.acm-modern-table tbody tr:nth-child(even) td:first-child {\n    border-left-color: #b2202566; \/* red at 40% on even *\/\n}\n.acm-modern-table tbody tr:hover td:first-child {\n    border-left-color: #b22025; \/* full red on hover *\/\n}\n\n.acm-modern-table td {\n    padding: 13px 14px;\n    border-bottom: 1px solid #edf2ee;\n    vertical-align: middle;\n    color: #374151;\n    line-height: 1.4;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n}\n.acm-modern-table tbody tr:last-child td { border-bottom: none; }\n\n.acm-modern-table td:first-child {\n    font-weight: 700;\n    color: #111827;\n    font-size: 13.5px;\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    max-width: 0;\n}\n\n.acm-modern-table td:nth-child(2),\n.acm-modern-table td:nth-child(3) {\n    color: #4b5563;\n    font-size: 13px;\n}\n\n\/* Date column in red *\/\n.acm-modern-table td:nth-child(4) {\n    color: #b22025;\n    font-size: 12.5px;\n    font-weight: 600;\n    white-space: nowrap;\n}\n\n\/* Row number badge: red *\/\n.acm-row-num {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    width: 22px;\n    height: 22px;\n    border-radius: 50%;\n    background: #b22025;\n    color: #fff;\n    font-size: 10px;\n    font-weight: 700;\n    margin-right: 7px;\n    flex-shrink: 0;\n    vertical-align: middle;\n}\n\n.acm-title-cell {\n    display: flex;\n    align-items: center;\n    overflow: hidden;\n}\n.acm-title-text {\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n}\n\n.acm-category-badge {\n    display: inline-block;\n    padding: 3px 9px;\n    margin: 2px 2px 2px 0;\n    border-radius: 999px;\n    color: #fff;\n    font-size: 11px;\n    font-weight: 600;\n    letter-spacing: .03em;\n    white-space: nowrap;\n}\n\n.acm-view-link {\n    display: inline-flex;\n    align-items: center;\n    gap: 4px;\n    padding: 6px 12px;\n    border: none;\n    border-radius: 7px;\n    background: #b22025;\n    color: #fff;\n    font-size: 12px;\n    font-weight: 700;\n    text-decoration: none;\n    cursor: pointer;\n    transition: background .15s, transform .1s, box-shadow .15s;\n    white-space: nowrap;\n    letter-spacing: .02em;\n    box-shadow: 0 2px 8px rgba(178,32,37,.25);\n}\n.acm-view-link:hover {\n    background: #8f1519;\n    transform: translateY(-1px);\n    box-shadow: 0 4px 12px rgba(178,32,37,.35);\n}\n\n\/* \u2500\u2500 PAGINATION \u2500\u2500 *\/\n.acm-pagination {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    padding: 14px 16px 14px;\n    gap: 12px;\n    flex-wrap: wrap;\n    border-top: 1px solid #edf2ee;\n    background: #fafcfb;\n    border-radius: 0 0 16px 16px;\n}\n.acm-pagination-info { font-size: 13px; color: #9ca3af; font-weight: 500; }\n.acm-pagination-controls { display: flex; align-items: center; gap: 5px; }\n.acm-page-btn {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    min-width: 34px;\n    height: 34px;\n    padding: 0 8px;\n    border-radius: 8px;\n    border: 1.5px solid #e5e7eb;\n    background: #fff;\n    color: #374151;\n    font-size: 13px;\n    font-weight: 600;\n    cursor: pointer;\n    transition: all .15s;\n    font-family: inherit;\n}\n.acm-page-btn:hover:not(:disabled) {\n    border-color: #115930;\n    color: #115930;\n    background: #eaf4ef;\n}\n.acm-page-btn.active {\n    background: #115930;\n    border-color: #115930;\n    color: #fff;\n    box-shadow: 0 2px 8px rgba(17,89,48,.25);\n}\n.acm-page-btn:disabled { opacity: .35; cursor: not-allowed; }\n.acm-page-arrow { font-size: 12px; }\n\n\/* \u2500\u2500 Mobile card layout \u2500\u2500 *\/\n@media (max-width:600px) {\n    .acm-table-scroll { box-shadow: none; border-radius: 0; overflow-x: visible; }\n    .acm-modern-table, .acm-modern-table thead, .acm-modern-table tbody,\n    .acm-modern-table th, .acm-modern-table td, .acm-modern-table tr { display: block; }\n    .acm-modern-table thead tr { display: none; }\n    .acm-modern-table tbody tr {\n        background: #fff !important;\n        border: 1px solid #dde8e2;\n        border-left: 4px solid #b22025;\n        border-radius: 12px;\n        margin-bottom: 14px;\n        box-shadow: 0 2px 10px rgba(17,89,48,.08);\n        transform: none !important;\n    }\n    .acm-modern-table td {\n        display: flex;\n        align-items: flex-start;\n        gap: 10px;\n        padding: 10px 14px;\n        border-bottom: 1px solid #f0f5f2;\n        font-size: 13.5px;\n        white-space: normal;\n        overflow: visible;\n        text-overflow: clip;\n        max-width: none !important;\n    }\n    .acm-modern-table td:first-child { white-space: normal; max-width: none !important; }\n    .acm-modern-table td::before {\n        content: attr(data-label);\n        flex: 0 0 90px;\n        font-size: 11px;\n        font-weight: 700;\n        letter-spacing: .05em;\n        text-transform: uppercase;\n        color: #9ca3af;\n        padding-top: 2px;\n    }\n    .acm-title-cell { flex-direction: column; }\n    .acm-row-num { display: none; }\n}\n\n\/* \u2500\u2500 MAP TOGGLE TABS \u2500\u2500 *\/\n.acm-map-tabs { display: flex; gap: 8px; margin-bottom: 14px; }\n.acm-map-tab  { padding: 8px 18px; border-radius: 8px; border: 1.5px solid #d1d5db; background: #fff; color: #374151; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .15s; }\n.acm-map-tab.active { background: #115930; border-color: #115930; color: #fff; }\n.acm-map-tab:hover:not(.active) { border-color: #115930; color: #115930; }\n\n\/* \u2500\u2500 SUBMIT BUTTON \u2500\u2500 *\/\n.acm-submit-btn {\n    display: inline-flex;\n    align-items: center;\n    gap: 8px;\n    background: linear-gradient(135deg, #115930, #1a7a45);\n    color: #fff;\n    padding: 13px 26px;\n    border: none;\n    border-radius: 10px;\n    font-size: 15px;\n    font-weight: 600;\n    cursor: pointer;\n    margin-bottom: 20px;\n    box-shadow: 0 4px 14px rgba(17,89,48,.25);\n    transition: background .2s, transform .15s, box-shadow .2s;\n}\n.acm-submit-btn:hover { background: linear-gradient(135deg, #0a3f22, #115930); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(17,89,48,.32); }\n\n\/* \u2500\u2500 CLEAR FILTER \u2500\u2500 *\/\n.acm-clear-filter { display: none; align-items: center; gap: 6px; padding: 6px 14px; border: 1.5px solid #d1d5db; border-radius: 8px; background: #fff; color: #6b7280; font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; margin-bottom: 12px; transition: all .15s; }\n.acm-clear-filter:hover { border-color: #b22025; color: #b22025; }\n.acm-clear-filter.visible { display: inline-flex; }\n\n\/* \u2500\u2500 TABLE SECTION HEADER \u2500\u2500 *\/\n.acm-table-header {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    margin: 0 0 14px;\n    padding-bottom: 12px;\n    border-bottom: 2px solid #edf2ee;\n}\n.acm-table-header-dot {\n    width: 10px; height: 10px; border-radius: 50%;\n    background: #b22025;\n    flex-shrink: 0;\n}\n.acm-table-header h2 {\n    margin: 0;\n    font-size: 18px;\n    font-weight: 700;\n    color: #111827;\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n}\n\n\/* \u2500\u2500 MODAL BASE \u2500\u2500 *\/\n.acm-modal { display: none; position: fixed; inset: 0; background: rgba(10,25,16,.65); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; padding: 16px; }\n.acm-modal.is-open { display: flex; }\n.acm-modal-content { background: #fff; width: 100%; max-width: 640px; border-radius: 18px; position: relative; max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,.22); animation: acmSlideUp .28s cubic-bezier(.22,1,.36,1); }\n@keyframes acmSlideUp { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }\n.acm-modal-close { position: absolute; top: 16px; right: 18px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.2); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; transition: background .15s; z-index: 2; }\n.acm-modal-close:hover { background: rgba(255,255,255,.35); }\n\n\/* \u2500\u2500 SUBMIT MODAL \u2500\u2500 *\/\n.acm-submit-modal .acm-modal-header { background: linear-gradient(135deg, #115930 0%, #1a7a45 100%); border-radius: 18px 18px 0 0; padding: 28px 32px 24px; color: #fff; }\n.acm-submit-modal .acm-modal-header h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }\n.acm-submit-modal .acm-modal-header p  { margin: 0; font-size: 13.5px; opacity: .85; }\n.acm-steps { display: flex; padding: 22px 32px 0; }\n.acm-step  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }\n.acm-step:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: 55%; width: 90%; height: 2px; background: #e5e7eb; z-index: 0; }\n.acm-step.done::after, .acm-step.active::after { background: #115930; }\n.acm-step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #d1d5db; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #9ca3af; z-index: 1; transition: all .2s; }\n.acm-step.active .acm-step-dot { border-color: #115930; color: #115930; background: #eaf4ef; }\n.acm-step.done   .acm-step-dot { border-color: #115930; background: #115930; color: #fff; }\n.acm-step-label  { font-size: 11px; font-weight: 600; color: #9ca3af; text-align: center; letter-spacing: .04em; text-transform: uppercase; }\n.acm-step.active .acm-step-label, .acm-step.done .acm-step-label { color: #115930; }\n.acm-form-body { padding: 24px 32px 28px; }\n.acm-step-panel { display: none; }\n.acm-step-panel.active { display: block; animation: acmFadeIn .2s ease; }\n@keyframes acmFadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }\n.acm-field { margin-bottom: 18px; }\n.acm-field label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }\n.acm-field label .req { color: #ef4444; margin-left: 3px; }\n.acm-field input, .acm-field select, .acm-field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid #d1d5db; border-radius: 9px; font-size: 14px; font-family: inherit; color: #111827; background: #fff; transition: border-color .15s, box-shadow .15s; outline: none; }\n.acm-field input:focus, .acm-field select:focus, .acm-field textarea:focus { border-color: #115930; box-shadow: 0 0 0 3px rgba(17,89,48,.12); }\n.acm-field textarea { resize: vertical; min-height: 110px; }\n.acm-field-hint { font-size: 12px; color: #9ca3af; margin-top: 5px; }\n.acm-cat-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }\n.acm-cat-check { display: none; }\n.acm-cat-label { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border: 1.5px solid #d1d5db; border-radius: 999px; font-size: 13px; font-weight: 500; color: #374151; cursor: pointer; transition: border-color .15s, background .15s, color .15s; user-select: none; }\n.acm-cat-check:checked + .acm-cat-label { border-color: #115930; background: #115930; color: #fff; }\n.acm-form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }\n.acm-btn-back { padding: 11px 22px; border: 1.5px solid #d1d5db; border-radius: 9px; background: #fff; color: #374151; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s; }\n.acm-btn-back:hover { background: #f9fafb; }\n.acm-btn-next, .acm-btn-submit { flex: 1; padding: 12px 22px; border: none; border-radius: 9px; background: #115930; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 3px 10px rgba(17,89,48,.22); transition: background .2s, transform .15s; }\n.acm-btn-next:hover, .acm-btn-submit:hover { background: #0a3f22; transform: translateY(-1px); }\n.acm-success-state { text-align: center; padding: 44px 24px; }\n.acm-success-icon  { font-size: 54px; margin-bottom: 16px; }\n.acm-success-state h3 { font-size: 20px; color: #115930; margin: 0 0 8px; }\n.acm-success-state p  { color: #6b7280; font-size: 14px; margin: 0 0 24px; }\n.acm-btn-done { padding: 11px 28px; border: 1.5px solid #115930; border-radius: 9px; background: #fff; color: #115930; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }\n.acm-btn-done:hover { background: #115930; color: #fff; }\n\n\/* \u2500\u2500 DETAIL MODAL \u2500\u2500 *\/\n.acm-detail-modal .acm-modal-content { max-width: 660px; }\n.acm-detail-header { background: linear-gradient(135deg, #115930 0%, #1a7a45 60%, #b22025 140%); border-radius: 18px 18px 0 0; padding: 32px 32px 28px; color: #fff; position: relative; }\n.acm-detail-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; margin-bottom: 8px; }\n.acm-detail-title   { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 18px; padding-right: 36px; }\n.acm-detail-meta-pills { display: flex; flex-wrap: wrap; gap: 8px; }\n.acm-detail-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 500; }\n.acm-detail-body { padding: 26px 32px 30px; }\n.acm-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }\n.acm-detail-card { background: #f6faf8; border: 1px solid #dde8e2; border-radius: 10px; padding: 14px 16px; }\n.acm-detail-card-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; margin-bottom: 5px; }\n.acm-detail-card-value { font-size: 15px; font-weight: 600; color: #111827; }\n.acm-section-title { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9ca3af; margin: 0 0 10px; }\n.acm-detail-description { font-size: 15px; line-height: 1.75; color: #374151; margin: 0; }\n.acm-detail-cats { display: flex; flex-wrap: wrap; gap: 8px; }\n.acm-divider { border: none; border-top: 1px solid #e8f0eb; margin: 20px 0; }\n.acm-detail-loading { text-align: center; padding: 60px 24px; color: #9ca3af; font-size: 15px; }\n.acm-detail-spinner { width: 36px; height: 36px; border: 3px solid #e5e7eb; border-top-color: #115930; border-radius: 50%; animation: acmSpin .7s linear infinite; margin: 0 auto 16px; }\n@keyframes acmSpin { to { transform: rotate(360deg); } }\n\n@media (max-width:520px) {\n    .acm-detail-grid { grid-template-columns: 1fr; }\n    .acm-detail-body, .acm-detail-header, .acm-form-body { padding-left: 18px; padding-right: 18px; }\n    .acm-steps { padding-left: 14px; padding-right: 14px; }\n}\n<\/style>\n\n    <div class=\"acm-wrap\" id=\"acm_85fd70cc\">\n    <div class=\"acm-container\">\n\n        <!-- MAP COLUMN -->\n        <div class=\"acm-map-column\">\n            <h2 style=\"margin:0 0 15px 0;\">Kenya Cases Map<\/h2>\n            <div id=\"acm_85fd70cc-map\" class=\"acm-map-el\"><\/div>\n        <\/div>\n\n        <!-- TABLE COLUMN -->\n        <div class=\"acm-table-column\">\n            <button class=\"acm-submit-btn\" id=\"acm_85fd70cc-open-submit\">\n                <svg width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M12 5v14M5 12h14\"\/><\/svg>\n                Submit a Case\n            <\/button>\n\n            <div class=\"acm-table-header\">\n                <div class=\"acm-table-header-dot\"><\/div>\n                <h2 id=\"acm_85fd70cc-filtered-title\">All Cases<\/h2>\n            <\/div>\n\n            <button class=\"acm-clear-filter\" id=\"acm_85fd70cc-clear-filter\">\n                <svg width=\"13\" height=\"13\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M18 6L6 18M6 6l12 12\"\/><\/svg>\n                Clear filter\n            <\/button>\n            <div id=\"acm_85fd70cc-cases-list\">Loading cases\u2026<\/div>\n        <\/div>\n    <\/div>\n\n    <!-- \u2550\u2550 SUBMIT MODAL \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 -->\n    <div id=\"acm_85fd70cc-submit-modal\" class=\"acm-modal acm-submit-modal\" role=\"dialog\" aria-modal=\"true\">\n        <div class=\"acm-modal-content\">\n            <div class=\"acm-modal-header\">\n                <button class=\"acm-modal-close\" id=\"acm_85fd70cc-close-submit\" aria-label=\"Close\">\u2715<\/button>\n                <h2>Submit a New Case<\/h2>\n                <p>Your submission is anonymous and will be reviewed before publishing.<\/p>\n            <\/div>\n            <div class=\"acm-steps\" id=\"acm_85fd70cc-steps-bar\">\n                <div class=\"acm-step active\" data-step=\"1\"><div class=\"acm-step-dot\">1<\/div><div class=\"acm-step-label\">Details<\/div><\/div>\n                <div class=\"acm-step\" data-step=\"2\"><div class=\"acm-step-dot\">2<\/div><div class=\"acm-step-label\">Location<\/div><\/div>\n                <div class=\"acm-step\" data-step=\"3\"><div class=\"acm-step-dot\">3<\/div><div class=\"acm-step-label\">Categories<\/div><\/div>\n            <\/div>\n            <div class=\"acm-form-body\">\n                <form id=\"acm_85fd70cc-submit-form\" novalidate>\n                    <!-- Step 1 -->\n                    <div class=\"acm-step-panel active\" data-panel=\"1\">\n                        <div class=\"acm-field\">\n                            <label for=\"acm_85fd70cc-title\">Case Title <span class=\"req\">*<\/span><\/label>\n                            <input type=\"text\" id=\"acm_85fd70cc-title\" name=\"title\" placeholder=\"e.g. Delayed medical records access in Nairobi hospital\">\n                        <\/div>\n                        <div class=\"acm-field\">\n                            <label for=\"acm_85fd70cc-description\">Description<\/label>\n                            <textarea id=\"acm_85fd70cc-description\" name=\"description\" placeholder=\"Describe what happened, key facts, and any relevant context\u2026\"><\/textarea>\n                            <div class=\"acm-field-hint\">The more detail you provide, the more useful this case will be for others.<\/div>\n                        <\/div>\n                        <div class=\"acm-form-nav\">\n                            <button type=\"button\" class=\"acm-btn-next\" data-next=\"2\">Continue \u2192<\/button>\n                        <\/div>\n                    <\/div>\n                    <!-- Step 2 -->\n                    <div class=\"acm-step-panel\" data-panel=\"2\">\n                        <div class=\"acm-field\">\n                            <label for=\"acm_85fd70cc-country\">Country <span class=\"req\">*<\/span><\/label>\n                            <select id=\"acm_85fd70cc-country\" name=\"country\">\n                                <option value=\"\">Select a country<\/option>\n                                <option value=\"Algeria\">Algeria<\/option><option value=\"Angola\">Angola<\/option><option value=\"Benin\">Benin<\/option><option value=\"Botswana\">Botswana<\/option><option value=\"Burkina Faso\">Burkina Faso<\/option><option value=\"Burundi\">Burundi<\/option><option value=\"Cabo Verde\">Cabo Verde<\/option><option value=\"Cameroon\">Cameroon<\/option><option value=\"Central African Republic\">Central African Republic<\/option><option value=\"Chad\">Chad<\/option><option value=\"Comoros\">Comoros<\/option><option value=\"Congo\">Congo<\/option><option value=\"Democratic Republic of the Congo\">Democratic Republic of the Congo<\/option><option value=\"Cote d&#039;Ivoire\">Cote d&#039;Ivoire<\/option><option value=\"Djibouti\">Djibouti<\/option><option value=\"Egypt\">Egypt<\/option><option value=\"Equatorial Guinea\">Equatorial Guinea<\/option><option value=\"Eritrea\">Eritrea<\/option><option value=\"Eswatini\">Eswatini<\/option><option value=\"Ethiopia\">Ethiopia<\/option><option value=\"Gabon\">Gabon<\/option><option value=\"Gambia\">Gambia<\/option><option value=\"Ghana\">Ghana<\/option><option value=\"Guinea\">Guinea<\/option><option value=\"Guinea-Bissau\">Guinea-Bissau<\/option><option value=\"Kenya\">Kenya<\/option><option value=\"Lesotho\">Lesotho<\/option><option value=\"Liberia\">Liberia<\/option><option value=\"Libya\">Libya<\/option><option value=\"Madagascar\">Madagascar<\/option><option value=\"Malawi\">Malawi<\/option><option value=\"Mali\">Mali<\/option><option value=\"Mauritania\">Mauritania<\/option><option value=\"Mauritius\">Mauritius<\/option><option value=\"Morocco\">Morocco<\/option><option value=\"Mozambique\">Mozambique<\/option><option value=\"Namibia\">Namibia<\/option><option value=\"Niger\">Niger<\/option><option value=\"Nigeria\">Nigeria<\/option><option value=\"Rwanda\">Rwanda<\/option><option value=\"Sao Tome and Principe\">Sao Tome and Principe<\/option><option value=\"Senegal\">Senegal<\/option><option value=\"Seychelles\">Seychelles<\/option><option value=\"Sierra Leone\">Sierra Leone<\/option><option value=\"Somalia\">Somalia<\/option><option value=\"South Africa\">South Africa<\/option><option value=\"South Sudan\">South Sudan<\/option><option value=\"Sudan\">Sudan<\/option><option value=\"Tanzania\">Tanzania<\/option><option value=\"Togo\">Togo<\/option><option value=\"Tunisia\">Tunisia<\/option><option value=\"Uganda\">Uganda<\/option><option value=\"Zambia\">Zambia<\/option><option value=\"Zimbabwe\">Zimbabwe<\/option>                            <\/select>\n                        <\/div>\n                        <div class=\"acm-field\">\n                            <label for=\"acm_85fd70cc-city\">City \/ Region<\/label>\n                            <input type=\"text\" id=\"acm_85fd70cc-city\" name=\"city\" placeholder=\"e.g. Nairobi, Kampala, Lagos\u2026\">\n                            <div class=\"acm-field-hint\">Optional \u2014 helps place the case on the map precisely.<\/div>\n                        <\/div>\n                        <div class=\"acm-form-nav\">\n                            <button type=\"button\" class=\"acm-btn-back\" data-back=\"1\">\u2190 Back<\/button>\n                            <button type=\"button\" class=\"acm-btn-next\" data-next=\"3\">Continue \u2192<\/button>\n                        <\/div>\n                    <\/div>\n                    <!-- Step 3 -->\n                    <div class=\"acm-step-panel\" data-panel=\"3\">\n                        <div class=\"acm-field\">\n                            <label>Categories<\/label>\n                            <div class=\"acm-cat-grid\">\n                                                                                                        <div>\n                                        <input class=\"acm-cat-check\" type=\"checkbox\" name=\"categories[]\"\n                                               id=\"acm_85fd70cc-cat-23\"\n                                               value=\"23\">\n                                        <label class=\"acm-cat-label\" for=\"acm_85fd70cc-cat-23\">\n                                            Arrest                                        <\/label>\n                                    <\/div>\n                                                                        <div>\n                                        <input class=\"acm-cat-check\" type=\"checkbox\" name=\"categories[]\"\n                                               id=\"acm_85fd70cc-cat-25\"\n                                               value=\"25\">\n                                        <label class=\"acm-cat-label\" for=\"acm_85fd70cc-cat-25\">\n                                            Harrassment                                        <\/label>\n                                    <\/div>\n                                                                        <div>\n                                        <input class=\"acm-cat-check\" type=\"checkbox\" name=\"categories[]\"\n                                               id=\"acm_85fd70cc-cat-24\"\n                                               value=\"24\">\n                                        <label class=\"acm-cat-label\" for=\"acm_85fd70cc-cat-24\">\n                                            Kidnap                                        <\/label>\n                                    <\/div>\n                                                                        <div>\n                                        <input class=\"acm-cat-check\" type=\"checkbox\" name=\"categories[]\"\n                                               id=\"acm_85fd70cc-cat-28\"\n                                               value=\"28\">\n                                        <label class=\"acm-cat-label\" for=\"acm_85fd70cc-cat-28\">\n                                            Killings                                        <\/label>\n                                    <\/div>\n                                                                                                <\/div>\n                            <div class=\"acm-field-hint\">Select all that apply. You can skip this step.<\/div>\n                        <\/div>\n                        <div class=\"acm-form-nav\">\n                            <button type=\"button\" class=\"acm-btn-back\" data-back=\"2\">\u2190 Back<\/button>\n                            <button type=\"submit\" class=\"acm-btn-submit\">Submit Anonymously \u2713<\/button>\n                        <\/div>\n                    <\/div>\n                <\/form>\n                <div class=\"acm-success-state\" id=\"acm_85fd70cc-success\" style=\"display:none;\">\n                    <div class=\"acm-success-icon\">\u2705<\/div>\n                    <h3>Case Submitted!<\/h3>\n                    <p>Thank you. Your case has been received and is pending review by our team.<\/p>\n                    <button class=\"acm-btn-done\" id=\"acm_85fd70cc-btn-done\">Close<\/button>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <!-- \u2550\u2550 CASE DETAIL MODAL \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 -->\n    <div id=\"acm_85fd70cc-detail-modal\" class=\"acm-modal acm-detail-modal\" role=\"dialog\" aria-modal=\"true\">\n        <div class=\"acm-modal-content\">\n            <div id=\"acm_85fd70cc-detail-inner\">\n                <div class=\"acm-detail-loading\"><div class=\"acm-detail-spinner\"><\/div>Loading case\u2026<\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n    <\/div><!-- .acm-wrap -->\n\n    <script>\n    \/*\n     * KEY FIX for map not loading:\n     * The inline script must NOT run until Leaflet (and TopoJSON for Africa)\n     * are fully loaded. wp_enqueue_script puts them in the footer, but the\n     * shortcode's inline <script> runs at its position in the DOM \u2014 BEFORE\n     * those footer scripts execute.\n     *\n     * Solution: wrap everything in a small polling helper that waits for\n     * `window.L` (Leaflet) and `window.topojson` to be defined, then runs.\n     * This is safe and requires no changes to how scripts are enqueued.\n     *\/\n    (function() {\n        var CFG          = {\"ajaxUrl\":\"https:\\\/\\\/oracomgroup.co.ke\\\/vocalafrica\\\/wp-admin\\\/admin-ajax.php\",\"mapType\":\"kenya\",\"uid\":\"acm_85fd70cc\",\"mainColor\":\"#115930\",\"accentColor\":\"#b22025\",\"nonces\":{\"submit\":\"bec5f04734\",\"filter\":\"874269e75f\",\"map\":\"34c7069c99\",\"detail\":\"7417eb414d\"},\"kenyaGeoJson\":\"https:\\\/\\\/raw.githubusercontent.com\\\/mikelmaron\\\/kenya-election-data\\\/master\\\/data\\\/counties.geojson\"};\n        var UID          = CFG.uid;\n        var AJAX_URL     = CFG.ajaxUrl;\n        var ACM_MAP_TYPE = CFG.mapType;\n        var NONCES       = CFG.nonces;\n        var PER_PAGE     = 4;\n\n        \/* \u2500\u2500 Wait for Leaflet (+ TopoJSON if Africa) before booting \u2500\u2500 *\/\n        function acmLibsReady() {\n            if (typeof window.L === 'undefined') return false;\n            if (ACM_MAP_TYPE === 'africa' && typeof window.topojson === 'undefined') return false;\n            return true;\n        }\n        function acmWaitAndBoot() {\n            if (acmLibsReady()) {\n                acmBoot();\n            } else {\n                setTimeout(acmWaitAndBoot, 50);\n            }\n        }\n        acmWaitAndBoot();\n\n        \/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n           ALL LOGIC INSIDE acmBoot() \u2014 runs only after libs load\n        \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n        function acmBoot() {\n\n        \/* \u2500\u2500 scoped helpers \u2500\u2500 *\/\n        const $ = id => document.getElementById(UID + '-' + id);\n\n        \/* \u2500\u2500 Modal helpers \u2500\u2500 *\/\n        const submitModal = $('submit-modal');\n        const detailModal = $('detail-modal');\n        function openModal(el)  { el.classList.add('is-open');    document.body.style.overflow = 'hidden'; }\n        function closeModal(el) { el.classList.remove('is-open'); document.body.style.overflow = ''; }\n\n        $('open-submit').addEventListener('click', () => { resetForm(); openModal(submitModal); });\n        $('close-submit').addEventListener('click', () => closeModal(submitModal));\n        submitModal.addEventListener('click', e => { if (e.target === submitModal) closeModal(submitModal); });\n        detailModal.addEventListener('click', e => { if (e.target === detailModal) closeModal(detailModal); });\n        document.addEventListener('keydown', e => { if (e.key === 'Escape') { closeModal(submitModal); closeModal(detailModal); } });\n\n        \/* \u2500\u2500 Multi-step form \u2500\u2500 *\/\n        function setStep(n) {\n            document.querySelectorAll('#' + UID + ' .acm-step-panel').forEach(p => p.classList.toggle('active', +p.dataset.panel === n));\n            document.querySelectorAll('#' + UID + '-steps-bar .acm-step').forEach(s => {\n                const sn = +s.dataset.step;\n                s.classList.toggle('active', sn === n);\n                s.classList.toggle('done',   sn < n);\n            });\n        }\n        document.querySelectorAll('#' + UID + ' .acm-btn-next').forEach(btn => {\n            btn.addEventListener('click', () => {\n                const next = +btn.dataset.next;\n                if (next === 2) {\n                    const f = document.getElementById(UID + '-title');\n                    if (!f || !f.value.trim()) { if(f){f.style.borderColor='#ef4444';f.focus();} return; }\n                    if(f) f.style.borderColor = '';\n                }\n                if (next === 3) {\n                    const f = document.getElementById(UID + '-country');\n                    if (!f || !f.value) { if(f){f.style.borderColor='#ef4444';f.focus();} return; }\n                    if(f) f.style.borderColor = '';\n                }\n                setStep(next);\n            });\n        });\n        document.querySelectorAll('#' + UID + ' .acm-btn-back').forEach(btn => {\n            btn.addEventListener('click', () => setStep(+btn.dataset.back));\n        });\n\n        document.getElementById(UID + '-submit-form').addEventListener('submit', function(e) {\n            e.preventDefault();\n            const btn = this.querySelector('.acm-btn-submit');\n            btn.textContent = 'Submitting\u2026'; btn.disabled = true;\n            const fd = new FormData(this);\n            fd.append('action', 'acm_submit_case');\n            fd.append('nonce',  NONCES.submit);\n            fetch(AJAX_URL, {method:'POST', body:fd})\n                .then(r => r.json())\n                .then(res => {\n                    if (res.success) {\n                        this.style.display = 'none';\n                        document.getElementById(UID + '-steps-bar').style.display = 'none';\n                        document.getElementById(UID + '-success').style.display = 'block';\n                    } else {\n                        btn.textContent = 'Submit Anonymously \u2713'; btn.disabled = false;\n                        alert(res.data || 'Submission failed. Please try again.');\n                    }\n                })\n                .catch(() => { btn.textContent = 'Submit Anonymously \u2713'; btn.disabled = false; alert('Network error.'); });\n        });\n        document.getElementById(UID + '-btn-done').addEventListener('click', () => closeModal(submitModal));\n        function resetForm() {\n            document.getElementById(UID + '-submit-form').reset();\n            document.getElementById(UID + '-submit-form').style.display = '';\n            document.getElementById(UID + '-steps-bar').style.display = '';\n            document.getElementById(UID + '-success').style.display = 'none';\n            setStep(1);\n        }\n\n        \/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n           FILTER STATE\n        \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n        let currentFilter = { value:'', type:'' };\n        let currentPage   = 1;\n        let allRows       = [];\n\n        function filterCases(value, type, label) {\n            currentFilter = { value: value||'', type: type||'' };\n            currentPage   = 1;\n            document.getElementById(UID + '-filtered-title').textContent = label || 'All Cases';\n            const clearBtn = document.getElementById(UID + '-clear-filter');\n            if (value) { clearBtn.classList.add('visible'); } else { clearBtn.classList.remove('visible'); }\n\n            const list = document.getElementById(UID + '-cases-list');\n            list.innerHTML = '<div class=\"acm-detail-loading\" style=\"padding:30px 0;\"><div class=\"acm-detail-spinner\"><\/div><\/div>';\n\n            const fd = new FormData();\n            fd.append('action',   'acm_filter_cases_json');\n            fd.append('nonce',    NONCES.filter);\n            fd.append('value',    value||'');\n            fd.append('type',     type||'');\n            fd.append('map_type', ACM_MAP_TYPE);\n            fetch(AJAX_URL, {method:'POST', body:fd})\n                .then(r => r.json())\n                .then(data => {\n                    allRows = data.cases || [];\n                    renderPage();\n                })\n                .catch(() => { list.innerHTML = '<p>Error loading cases.<\/p>'; });\n        }\n\n        \/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n           RENDER PAGE  (pagination)\n        \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n        function renderPage() {\n            const list       = document.getElementById(UID + '-cases-list');\n            const total      = allRows.length;\n            const totalPages = Math.ceil(total \/ PER_PAGE) || 1;\n            currentPage      = Math.min(currentPage, totalPages);\n            const start      = (currentPage - 1) * PER_PAGE;\n            const pageRows   = allRows.slice(start, start + PER_PAGE);\n\n            if (!total) {\n                list.innerHTML = '<p style=\"color:#6b7280;padding:8px 0;\">No matching cases found. Make sure cases are <strong>Published<\/strong> in the WordPress admin.<\/p>';\n                return;\n            }\n\n            let html = '<div class=\"acm-table-scroll\">'\n                     + '<table class=\"acm-modern-table\">'\n                     + '<colgroup><col><col><col><col><col><col><\/colgroup>'\n                     + '<thead><tr>'\n                     + '<th>Title<\/th><th>Country<\/th><th>City<\/th><th>Date<\/th><th>Categories<\/th><th><\/th>'\n                     + '<\/tr><\/thead><tbody>';\n\n            pageRows.forEach((row, idx) => {\n                const rowNum  = start + idx + 1;\n                const catHtml = row.categories.map(cat =>\n                    `<span class=\"acm-category-badge\" style=\"background:${cat.color};\">${escHtml(cat.name)}<\/span>`\n                ).join('') || '<span style=\"color:#d1d5db;\">\u2014<\/span>';\n\n                html += `<tr>\n                    <td data-label=\"Title\">\n                        <div class=\"acm-title-cell\">\n                            <span class=\"acm-row-num\">${rowNum}<\/span>\n                            <span class=\"acm-title-text\" title=\"${escHtml(row.title)}\">${escHtml(row.title)}<\/span>\n                        <\/div>\n                    <\/td>\n                    <td data-label=\"Country\">${escHtml(row.country||'\u2014')}<\/td>\n                    <td data-label=\"City\">${escHtml(row.city||'\u2014')}<\/td>\n                    <td data-label=\"Date\">${escHtml(row.date)}<\/td>\n                    <td data-label=\"Categories\">${catHtml}<\/td>\n                    <td data-label=\"\">\n                        <button class=\"acm-view-link\" data-case-id=\"${row.id}\">\n                            View\n                            <svg width=\"11\" height=\"11\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M5 12h14M12 5l7 7-7 7\"\/><\/svg>\n                        <\/button>\n                    <\/td>\n                <\/tr>`;\n            });\n            html += '<\/tbody><\/table>';\n\n            const from = start + 1, to = Math.min(start + PER_PAGE, total);\n            html += `<div class=\"acm-pagination\">\n                <span class=\"acm-pagination-info\">${from}\u2013${to} of ${total} case${total!==1?'s':''}<\/span>\n                <div class=\"acm-pagination-controls\" id=\"${UID}-pag-controls\">`;\n\n            html += `<button class=\"acm-page-btn acm-page-arrow\" data-page=\"${currentPage-1}\" ${currentPage===1?'disabled':''}>\u2190 Prev<\/button>`;\n\n            const range = pageRange(currentPage, totalPages);\n            range.forEach(p => {\n                if (p === '\u2026') {\n                    html += `<span style=\"padding:0 4px;color:#9ca3af;line-height:34px;\">\u2026<\/span>`;\n                } else {\n                    html += `<button class=\"acm-page-btn${p===currentPage?' active':''}\" data-page=\"${p}\">${p}<\/button>`;\n                }\n            });\n\n            html += `<button class=\"acm-page-btn acm-page-arrow\" data-page=\"${currentPage+1}\" ${currentPage===totalPages?'disabled':''}>Next \u2192<\/button>`;\n            html += '<\/div><\/div><\/div>';\n\n            list.innerHTML = html;\n\n            list.querySelectorAll('.acm-page-btn[data-page]').forEach(btn => {\n                btn.addEventListener('click', () => {\n                    const p = parseInt(btn.dataset.page, 10);\n                    if (isNaN(p) || p < 1 || p > totalPages) return;\n                    currentPage = p;\n                    renderPage();\n                    list.scrollIntoView({behavior:'smooth', block:'nearest'});\n                });\n            });\n        }\n\n        function pageRange(current, total) {\n            if (total <= 7) return Array.from({length:total},(_,i)=>i+1);\n            const pages = [];\n            if (current <= 4) {\n                for(let i=1;i<=Math.min(5,total);i++) pages.push(i);\n                if(total>6) pages.push('\u2026');\n                pages.push(total);\n            } else if (current >= total - 3) {\n                pages.push(1); pages.push('\u2026');\n                for(let i=total-4;i<=total;i++) pages.push(i);\n            } else {\n                pages.push(1); pages.push('\u2026');\n                for(let i=current-1;i<=current+1;i++) pages.push(i);\n                pages.push('\u2026'); pages.push(total);\n            }\n            return pages;\n        }\n\n        function escHtml(str) {\n            return String(str||'').replace(\/&\/g,'&amp;').replace(\/<\/g,'&lt;').replace(\/>\/g,'&gt;').replace(\/\"\/g,'&quot;');\n        }\n\n        \/* \u2500\u2500 Clear filter \u2500\u2500 *\/\n        document.getElementById(UID + '-clear-filter').addEventListener('click', () => {\n            filterCases('','','All Cases');\n            if (typeof window['resetMapHighlight_' + UID] === 'function') window['resetMapHighlight_' + UID]();\n        });\n\n        \/* Initial load *\/\n        filterCases('','','All Cases');\n\n        \/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n           MAP \u2014 Leaflet is guaranteed loaded (acmWaitAndBoot)\n        \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n        const mapEl = document.getElementById(UID + '-map');\n        let leafMap;\n        let geoLayer;\n\n        if (ACM_MAP_TYPE === 'kenya') {\n            leafMap = L.map(mapEl, {zoomControl:true, attributionControl:false}).setView([0.0236,37.9062], 6);\n        } else {\n            leafMap = L.map(mapEl, {zoomControl:true, attributionControl:false}).setView([2,20], 3);\n        }\n\n        \/* Add a light tile layer so the map background isn't grey *\/\n        L.tileLayer('https:\/\/{s}.basemaps.cartocdn.com\/light_nolabels\/{z}\/{x}\/{y}{r}.png', {\n            maxZoom: 19,\n            subdomains: 'abcd'\n        }).addTo(leafMap);\n\n        setTimeout(() => { leafMap.invalidateSize(); }, 300);\n        if (typeof ResizeObserver !== 'undefined') {\n            new ResizeObserver(() => leafMap.invalidateSize()).observe(mapEl);\n        }\n\n        \/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n           AFRICA MAP\n        \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n        if (ACM_MAP_TYPE === 'africa') {\n            const AFRICA_ISO = new Set([12,24,204,72,854,108,132,120,140,148,174,178,180,384,262,818,226,232,748,231,266,270,288,324,624,404,426,430,434,450,454,466,478,480,504,508,516,562,566,646,678,686,690,694,706,710,728,729,834,768,788,800,894,716]);\n            const ISO_NAME   = {12:'Algeria',24:'Angola',204:'Benin',72:'Botswana',854:'Burkina Faso',108:'Burundi',132:'Cabo Verde',120:'Cameroon',140:'Central African Republic',148:'Chad',174:'Comoros',178:'Congo',180:'Democratic Republic of the Congo',384:\"Cote d'Ivoire\",262:'Djibouti',818:'Egypt',226:'Equatorial Guinea',232:'Eritrea',748:'Eswatini',231:'Ethiopia',266:'Gabon',270:'Gambia',288:'Ghana',324:'Guinea',624:'Guinea-Bissau',404:'Kenya',426:'Lesotho',430:'Liberia',434:'Libya',450:'Madagascar',454:'Malawi',466:'Mali',478:'Mauritania',480:'Mauritius',504:'Morocco',508:'Mozambique',516:'Namibia',562:'Niger',566:'Nigeria',646:'Rwanda',678:'Sao Tome and Principe',686:'Senegal',690:'Seychelles',694:'Sierra Leone',706:'Somalia',710:'South Africa',728:'South Sudan',729:'Sudan',834:'Tanzania',768:'Togo',788:'Tunisia',800:'Uganda',894:'Zambia',716:'Zimbabwe'};\n\n            Promise.all([\n                fetch('https:\/\/cdn.jsdelivr.net\/npm\/world-atlas@2\/countries-110m.json').then(r => r.json()),\n                fetch(AJAX_URL, {\n                    method: 'POST',\n                    headers: {'Content-Type':'application\/x-www-form-urlencoded'},\n                    body: 'action=acm_get_countries_with_cases&nonce=' + encodeURIComponent(NONCES.map)\n                }).then(r => r.json())\n            ]).then(([topo, casesData]) => {\n                const withCases = new Set(casesData);\n                const africa = topojson.feature(topo, topo.objects.countries).features\n                               .filter(f => AFRICA_ISO.has(parseInt(f.id)));\n                geoLayer = L.geoJSON({type:'FeatureCollection',features:africa},{\n                    style: f => {\n                        const has = withCases.has(ISO_NAME[parseInt(f.id)]||'');\n                        return {color:'#fff',weight:1.2,fillColor:has?'#22c55e':'#93c5b0',fillOpacity:has?.9:.65};\n                    },\n                    onEachFeature: (f, layer) => {\n                        const name = ISO_NAME[parseInt(f.id)]||'Unknown';\n                        const has  = withCases.has(name);\n                        layer.bindTooltip(name + (has ? ' \u2713' : ''), {sticky:true});\n                        layer._origStyle = {color:'#fff',weight:1.2,fillColor:has?'#22c55e':'#93c5b0',fillOpacity:has?.9:.65};\n                        layer.on('click',     () => { filterCases(name,'country','Cases in '+name); highlightLayer(layer); });\n                        layer.on('mouseover', function() { this.setStyle({weight:2.5,fillOpacity:.95}); });\n                        layer.on('mouseout',  function() { this.setStyle(this._origStyle); });\n                    }\n                }).addTo(leafMap);\n                leafMap.invalidateSize();\n                leafMap.fitBounds(geoLayer.getBounds(), {padding:[10,10]});\n            }).catch(err => {\n                console.error('Africa map error:', err);\n                mapEl.innerHTML = '<div style=\"padding:40px;text-align:center;color:#666;\">Map could not load. Please check your internet connection and refresh.<\/div>';\n            });\n\n            [{name:'Nairobi',lat:-1.2921,lng:36.8219},{name:'Lagos',lat:6.5244,lng:3.3792},\n             {name:'Johannesburg',lat:-26.2041,lng:28.0473},{name:'Cairo',lat:30.0444,lng:31.2357},\n             {name:'Addis Ababa',lat:9.03,lng:38.74},{name:'Dakar',lat:14.6928,lng:-17.4467},\n             {name:'Accra',lat:5.6037,lng:-.187},{name:'Dar es Salaam',lat:-6.7924,lng:39.2083},\n             {name:'Kigali',lat:-1.9441,lng:30.0619},{name:'Kampala',lat:.3163,lng:32.5822}\n            ].forEach(c => {\n                L.circleMarker([c.lat,c.lng],{radius:6,fillColor:'#115930',color:'#fff',weight:2,fillOpacity:1})\n                 .addTo(leafMap).bindTooltip(c.name,{direction:'top'})\n                 .on('click',()=>filterCases(c.name,'city','Cases in '+c.name));\n            });\n        }\n\n        \/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n           KENYA MAP \u2014 county-level GeoJSON\n           Uses a reliable public GeoJSON source.\n           Graceful fallback to city markers if fetch fails.\n        \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n        if (ACM_MAP_TYPE === 'kenya') {\n            fetch(CFG.kenyaGeoJson)\n                .then(r => {\n                    if (!r.ok) throw new Error('Kenya GeoJSON fetch failed: ' + r.status);\n                    return r.json();\n                })\n                .then(geoData => {\n                    return fetch(AJAX_URL, {\n                        method: 'POST',\n                        headers: {'Content-Type':'application\/x-www-form-urlencoded'},\n                        body: 'action=acm_get_kenya_places_with_cases&nonce=' + encodeURIComponent(NONCES.map)\n                    }).then(r => r.json()).then(casePlaces => ({ geoData, casePlaces }));\n                })\n                .then(({ geoData, casePlaces }) => {\n                    const placesSet = new Set((casePlaces||[]).map(p => String(p).toLowerCase()));\n\n                    geoLayer = L.geoJSON(geoData, {\n                        style: feature => {\n                            const county = (\n                                feature.properties.COUNTY_NAM ||\n                                feature.properties.County ||\n                                feature.properties.county_nam ||\n                                feature.properties.NAME_1 ||\n                                ''\n                            ).toLowerCase();\n                            const has = placesSet.has(county);\n                            return { color:'#fff', weight:1, fillColor: has ? '#22c55e' : '#93c5b0', fillOpacity: has ? .9 : .65 };\n                        },\n                        onEachFeature: (feature, layer) => {\n                            const countyName =\n                                feature.properties.COUNTY_NAM ||\n                                feature.properties.County ||\n                                feature.properties.county_nam ||\n                                feature.properties.NAME_1 ||\n                                'Unknown';\n                            const county = countyName.toLowerCase();\n                            const has    = placesSet.has(county);\n                            layer.bindTooltip(countyName + (has ? ' \u2713' : ''), {sticky:true});\n                            layer._origStyle = {color:'#fff',weight:1,fillColor:has?'#22c55e':'#93c5b0',fillOpacity:has?.9:.65};\n                            layer._countyName = countyName;\n                            layer.on('click', () => {\n                                filterCases(countyName,'city','Cases in '+countyName);\n                                highlightLayer(layer);\n                            });\n                            layer.on('mouseover', function() { this.setStyle({weight:2.5,fillOpacity:.95}); });\n                            layer.on('mouseout',  function() { this.setStyle(this._origStyle); });\n                        }\n                    }).addTo(leafMap);\n\n                    leafMap.fitBounds(geoLayer.getBounds(), {padding:[20,20]});\n                    leafMap.invalidateSize();\n                })\n                .catch(err => {\n                    console.error('Kenya GeoJSON failed, using city markers:', err);\n                    renderKenyaCityMarkers();\n                });\n\n            function renderKenyaCityMarkers() {\n                [{name:'Nairobi',lat:-1.2921,lng:36.8219},{name:'Mombasa',lat:-4.0435,lng:39.6682},\n                 {name:'Kisumu',lat:-0.0917,lng:34.7679},{name:'Nakuru',lat:-0.3031,lng:36.08},\n                 {name:'Eldoret',lat:0.5143,lng:35.2698},{name:'Thika',lat:-1.0332,lng:37.0693},\n                 {name:'Malindi',lat:-3.2138,lng:40.1169},{name:'Nyeri',lat:-0.4167,lng:36.9667},\n                 {name:'Garissa',lat:-0.4532,lng:39.6466},{name:'Kakamega',lat:0.2827,lng:34.7519},\n                 {name:'Machakos',lat:-1.5177,lng:37.2634},{name:'Kisii',lat:-0.6817,lng:34.7667},\n                 {name:'Meru',lat:0.0467,lng:37.6498},{name:'Kericho',lat:-0.3686,lng:35.2864},\n                 {name:'Kitale',lat:1.0154,lng:35.006}\n                ].forEach(c => {\n                    L.circleMarker([c.lat,c.lng],{radius:7,fillColor:'#115930',color:'#fff',weight:2,fillOpacity:1})\n                     .addTo(leafMap).bindTooltip(c.name,{direction:'top'})\n                     .on('click',()=>filterCases(c.name,'city','Cases in '+c.name));\n                });\n            }\n        }\n\n        \/* \u2500\u2500 Highlight layer helper \u2500\u2500 *\/\n        let highlightedLayer = null;\n        function highlightLayer(layer) {\n            if (highlightedLayer && highlightedLayer !== layer) {\n                try { highlightedLayer.setStyle(highlightedLayer._origStyle); } catch(e){}\n            }\n            highlightedLayer = layer;\n            layer.setStyle({weight:3, fillColor:'#b22025', fillOpacity:.9});\n        }\n        window['resetMapHighlight_' + UID] = function() {\n            if (highlightedLayer) {\n                try { highlightedLayer.setStyle(highlightedLayer._origStyle); } catch(e){}\n                highlightedLayer = null;\n            }\n        };\n\n        \/* \u2500\u2500 Case detail modal \u2500\u2500 *\/\n        document.addEventListener('click', function(e) {\n            if (!e.target.closest('#' + UID)) return;\n            const btn = e.target.closest('[data-case-id]');\n            if (!btn) return;\n            e.preventDefault();\n            document.getElementById(UID + '-detail-inner').innerHTML =\n                '<div class=\"acm-detail-loading\"><div class=\"acm-detail-spinner\"><\/div>Loading case\u2026<\/div>';\n            openModal(detailModal);\n            const fd = new FormData();\n            fd.append('action',  'acm_get_case_detail');\n            fd.append('nonce',   NONCES.detail);\n            fd.append('post_id', btn.dataset.caseId);\n            fetch(AJAX_URL, {method:'POST',body:fd})\n                .then(r=>r.text())\n                .then(html => { document.getElementById(UID + '-detail-inner').innerHTML = html; })\n                .catch(()  => { document.getElementById(UID + '-detail-inner').innerHTML = '<div class=\"acm-detail-loading\">Failed to load.<\/div>'; });\n        });\n        document.addEventListener('click', function(e) {\n            if (e.target.closest('#acm-detail-close')) closeModal(detailModal);\n        });\n\n        } \/\/ end acmBoot()\n    })();\n    <\/script>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Reported Cases Kenyan Cases Through its Rapid Response Department, VOCAL Africa documents, supports and advocates for justice on human rights cases across Africa. Our documented cases include extra judicial killings, femicide, enforced disappearances, police brutality, abduction, gender-based violence and other serious violations targeting individuals, youth, women and communities in general. VOCAL Africa has responded to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-homepage.php","meta":{"give_campaign_id":0,"footnotes":""},"class_list":["post-20871","page","type-page","status-publish","hentry"],"campaignId":"","_links":{"self":[{"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/pages\/20871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/comments?post=20871"}],"version-history":[{"count":13,"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/pages\/20871\/revisions"}],"predecessor-version":[{"id":21045,"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/pages\/20871\/revisions\/21045"}],"wp:attachment":[{"href":"https:\/\/oracomgroup.co.ke\/vocalafrica\/wp-json\/wp\/v2\/media?parent=20871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}