
.zombify-comment-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.zombify-comment-modal.active {
    display: flex;
}

.zombify-modal-content {
    background: #fff;
    width: 750px;
    max-width: 90%;
    height: 520px;
    display: flex;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
     max-height: 90vh;
    overflow: hidden;
}

.zf-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    text-align: right;
    background: #f8f8f8;
    z-index: 2;
}

.zf-modal-left,
.zf-modal-right {
    flex: 1;
    padding: 45px 15px 15px;
}

.zf-modal-left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.zf-like {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 0;
}
.zf-discussion-eye {
    text-decoration: none;
    font-size: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.zf-discussion-eye:hover {
    opacity: 0.8;
}
.zf-reactions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.zf-reactions button {
    border: none;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 3px 7px;
    cursor: pointer;
    font-size: 13px;
}

.zf-reactions button:hover {
    background: #e2e8f0;
}
.zf-modal-right {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}
#zfCommentsLog {
    flex: 1;
    overflow-y: auto;
    max-height: 320px;
    padding-right: 6px;
    margin-bottom: 10px;
}

#zfCommentForm {
    flex-shrink: 0;
    background: #fff;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

#zfCommentForm textarea {
    width: 100%;
    min-height: 60px;
    max-height: 90px;
    min-height: 60px;
    max-height: 60px;
    resize: none;
    margin-top: 5px;
}

#zfCommentForm button {
    width: 100%;
    margin-top: 6px;
    flex-shrink: 0;
    padding-top: 5px; /* moves comment area down slightly */
    border-top: 1px solid #e2e8f0;
}
.zf-subscribe-btn {
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s ease;
    float: left;
}

.zf-subscribe-btn.active,
#zfSubscribeBtn.active {
    background: #22c55e !important;
    color: #fff !important;
    border-color: #22c55e !important;
}

@media (max-width: 768px) {
    .zf-subscribe-btn.active,
    #zfSubscribeBtn.active {
        background: #22c55e !important;
        color: #fff !important;
        border-color: #22c55e !important;
    }
}
#zfSubscribeBtn {
    display: inline-block;
    align-self: flex-start;
    margin: 0px 0 10px 0;
}
/* Main shortcode page: 5 square columns */
.zf-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.zf-grid .zf-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

/* Sidebar shortcode: 3 round columns */
.zf-sidebar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.zf-sidebar .zf-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    
}
.zf-floating-add-post {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #000;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    z-index: 999999;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    border: 1px solid;
}

.zf-floating-add-post:hover {
    transform: scale(1.06);
}
#zf-notify-bell {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 999999;
}

#zf-notify-toggle {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border: 1px solid !important;

    background: #000 !important;
    color: #fff !important;

    font-size: 22px !important;
    line-height: 1 !important;

    cursor: pointer;
    box-sizing: border-box !important;
}

.zf-notify-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
}

#zf-notify-dropdown {
    display: none;
    position: absolute;
    left: 0;
    bottom: 68px;
    width: 280px;
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
    color: #111;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,.3);
}

#zf-notify-dropdown.active {
    display: block;
}

#zf-notify-dropdown ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

#zf-notify-dropdown li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.zf-notify-center-count {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.zf-header-profile-li {
    margin-left: 12px;
}

.zf-header-profile-link img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
@media (max-width: 768px) {

    .zombify-modal-content {
        width: 96vw !important;
        max-width: 96vw !important;
        height: auto !important;
        max-height: 90vh !important;
        overflow-y: auto !important;

        display: flex !important;
        flex-direction: column !important;
    }

    .zf-modal-left,
    .zf-modal-right {
        width: 100% !important;
        flex: none !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    .zf-modal-left img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 45vh !important;
        object-fit: contain !important;
        display: block !important;
    }

    .zf-modal-right {
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
    }

    #zfCommentsLog {
        max-height: 250px !important;
        overflow-y: auto !important;
    }

    #zfCommentForm {
        display: block !important;
        margin-top: 10px !important;
    }

    #zfCommentForm textarea {
        width: 100% !important;
        min-height: 70px !important;
        max-height: none !important;
    }

    #zfCommentForm button {
        width: 100% !important;
    }
}
.zf-register-header {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .zf-register-header {
        font-size: 14px;
        margin-left: 8px;
    }
}.zf-register-link {
    margin-left: 10px;
}

.zf-register-link a {
    white-space: nowrap;
    font-weight: 600;
}
.zf-register-header {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .zf-register-header {
        font-size: 14px;
        margin-left: 8px;
    }
}
@media (max-width: 768px) {

    .navbar-toggler,
    button.navbar-toggler {
        display: none !important;
    }

    #navbar-wp,
    .collapse.navbar-collapse {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
        flex-basis: auto !important;
        flex-grow: 0 !important;
    }

    #menu-top-menu,
    #navbar-wp .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #menu-top-menu li {
        display: inline-flex !important;
        width: auto !important;
    }

    #menu-top-menu a {
        font-size: 13px !important;
        padding: 5px 6px !important;
        white-space: nowrap !important;
    }

    .custom-logo-link,
    .navbar-brand {
        margin-right: 8px !important;
        flex: 0 0 auto !important;
        text-align: left !important;
    }

    .custom-logo,
    .custom-logo-link img,
    .navbar-brand img {
        max-width: 58px !important;
        height: auto !important;
    }
}
body:has(.zombify-comment-modal.active) .zf-floating-add-post,
body:has(.zombify-comment-modal.active) #zf-notify-bell {
    display: none !important;
}
/* Make posted WordPress comments full width */
#comments .comment-list,
#comments .comment-list > li.comment,
#comments li.comment,
#comments article.comment-body,
#comments .comment-body,
#comments .comment-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Stop theme from squeezing comment content */
#comments .comment-content {
    display: block !important;
    clear: both !important;
}

/* Keep reactions inside the comment box */
#comments .zf-reactions {
    display: flex !important;
    flex-flow: row wrap !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
}

#comments .zf-reactions button {
    width: auto !important;
    max-width: none !important;
    min-width: 34px !important;
    display: inline-flex !important;
    white-space: nowrap !important;
}
#comments .comment-meta,
#comments .comment-author,
#comments .comment-content {
    float: none !important;
}
@media (max-width: 768px) {

    #comments .comment-body {
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
    }

    #comments .comment-author.vcard {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin-bottom: 8px;
    }

    #comments .comment-author .avatar {
        width: 35px !important;
        height: 35px !important;
        border-radius: 50%;
        margin: 0 auto 4px auto !important;
        float: none !important;
    }

    #comments .comment-metadata {
        text-align: center;
        font-size: 11px;
        margin-bottom: 8px;
    }

    #comments .comment-content {
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
    }

    #comments .zf-reactions {
        justify-content: center !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin: 8px auto 0 auto;
    }

    #comments .zf-reactions button {
        width: auto !important;
        min-width: 30px !important;
        padding: 3px 6px !important;
    }
}
@media (max-width: 768px) {

    #comments li.comment,
    #comments .comment-body {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    #comments .comment-meta {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    #comments .comment-author.vcard {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }

    #comments .comment-author.vcard img.avatar {
        display: block !important;
        float: none !important;
        width: 35px !important;
        height: 35px !important;
        margin: 0 auto 5px auto !important;
        border-radius: 50% !important;
    }

    #comments .comment-author.vcard .fn,
    #comments .comment-author.vcard .says {
        display: inline-block !important;
        text-align: center !important;
    }

    #comments .comment-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        clear: both !important;
    }

    #comments .zf-reactions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 8px auto 0 auto !important;
        overflow-x: auto !important;
    }

    #comments .zf-reactions button {
        display: inline-flex !important;
        width: auto !important;
        min-width: 28px !important;
        max-width: none !important;
        padding: 2px 5px !important;
        margin: 0 !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

    #comments .zf-reactions img.emoji {
        width: 13px !important;
        height: 13px !important;
    }
}
@media (max-width: 768px) {

    #comments .comment-body,
    #comments .comment-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    #comments .comment-content p {
        padding-left: 10px;
        padding-right: 10px;
    }

    #comments .zf-reactions {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 6px 8px !important;
        justify-content: center !important;
        overflow-x: auto !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 768px) {

    /* Keep avatar/name centered */
    #comments .comment-author.vcard {
        text-align: center !important;
    }

    /* Move avatar up slightly */
    #comments .comment-author.vcard img.avatar {
        margin-top: -8px !important;
    }

    /* Comment text left aligned */
    #comments .comment-content {
        text-align: left !important;
    }

    #comments .comment-content p {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 10px !important;
    }

    /* Keep reaction bar centered */
    #comments .zf-reactions {
        justify-content: center !important;
    }
}
#comments .comment-metadata {
    display: none !important;
}
.zf-delete-comment {
    border: none;
    background: transparent;
    color: #dc2626;
    font-size: 12px;
    cursor: pointer;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .zf-delete-comment {
        display: none;
    }
}
.zf-single-comment {
    position: relative;
    padding-bottom: 22px;
}

.zf-delete-comment {
    position: absolute;
    right: 4px;
    bottom: -10px;
    border: none;
    background: transparent;
    color: #dc2626;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.zf-modal-offender-details {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    color: #334155;
    width: 100%;
}

.zf-modal-offender-details div {
    margin-bottom: 2px;
}



/* FBI report button under offender details */
.zf-fbi-report {
    width: 100%;
    margin-top: 10px;
}

.zf-fbi-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #b91c1c;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    box-sizing: border-box;
}

.zf-fbi-btn:hover {
    opacity: 0.9;
}

/* Repeat offender cards */
.zf-repeat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}

.zf-repeat-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.zf-repeat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 10px;
}

.zf-repeat-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.zf-repeat-item span {
    display: block;
    font-size: 12px;
    margin-top: 4px;
}

/* Repeat offender report list inside popup */
.zf-repeat-modal-reports {
    display: none;
    width: 100%;
    margin-top: 10px;
}

.zf-repeat-modal-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
    color: #0f172a;
}

.zf-repeat-modal-report {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: #0f172a;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #f8fafc;
}

.zf-repeat-modal-report img {
    width: 44px !important;
    height: 44px !important;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 auto;
}

.zf-repeat-modal-report span {
    font-size: 12px;
    line-height: 1.25;
}

/* Hide floating controls behind modal */
body.zf-modal-open .zf-floating-add-post,
body.zf-modal-open #zf-notify-bell {
    display: none !important;
}


/* Get Notified form */
.zf-watch-form {
    max-width: 760px;
    margin: 20px auto;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.zf-watch-form h3 {
    margin-top: 0;
}

.zf-watch-note {
    color: #64748b;
    font-size: 14px;
}

.zf-watch-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.zf-watch-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.zf-watch-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.zf-watch-submit {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.zf-watch-message {
    max-width: 760px;
    margin: 15px auto;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.zf-watch-message.success {
    background: #dcfce7;
    color: #166534;
}

.zf-watch-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.zf-optional {
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
}

.zf-watch-header-icon i {
    color: inherit;
}

@media (max-width: 768px) {
    .zf-watch-row {
        grid-template-columns: 1fr;
    }

    .zf-watch-form {
        margin: 12px;
        padding: 14px;
    }
}



/* Offender Profile Pages */
.zf-offender-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.zf-offender-profile-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    text-decoration: none !important;
    color: #0f172a !important;
}

.zf-offender-profile-avatar {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.zf-offender-profile-info h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.zf-offender-profile-info p {
    margin: 2px 0;
    font-size: 12px;
}

.zf-offender-profile-page {
    max-width: 980px;
    margin: 20px auto;
}

.zf-offender-profile-header {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.zf-offender-profile-main-avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50%;
    object-fit: cover;
}

.zf-repeat-badge {
    display: inline-block;
    background: #b91c1c;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.zf-offender-profile-reports {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.zf-offender-report-card {
    display: flex;
    gap: 10px;
    text-decoration: none !important;
    color: #0f172a !important;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
}

.zf-offender-report-card img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}

.zf-offender-report-card span,
.zf-offender-report-card small {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.zf-get-notified-header-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Safety: never let Get Notified form render inside theme header/nav areas */
header .zf-watch-form,
.site-header .zf-watch-form,
.navbar .zf-watch-form,
.navbar-wp .zf-watch-form,
.bs-head-detail .zf-watch-form,
.top-header .zf-watch-form,
.main-header .zf-watch-form {
    display: none !important;
}

@media (max-width: 768px) {
    .zf-offender-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .zf-offender-profile-main-avatar {
        width: 86px !important;
        height: 86px !important;
    }

    .zf-offender-profile-avatar {
        width: 54px !important;
        height: 54px !important;
    }
}


/* Add Information */
.zf-add-info-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.zf-feed-card .zf-add-info-btn {
    display: block;
    margin: 6px auto 0;
    max-width: 150px;
}

.zf-add-info-form {
    max-width: 760px;
    margin: 20px auto;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.zf-add-info-note {
    color: #64748b;
    font-size: 14px;
}

.zf-add-info-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.zf-add-info-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.zf-add-info-form input,
.zf-add-info-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.zf-add-info-submit {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.zf-info-message {
    max-width: 760px;
    margin: 15px auto;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.zf-info-message.success {
    background: #dcfce7;
    color: #166534;
}

.zf-info-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.zf-profile-updates {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
}

.zf-profile-updates h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.zf-profile-update-card {
    display: flex;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
}

.zf-profile-update-card img {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 auto;
}

.zf-profile-update-card p {
    margin: 2px 0;
    font-size: 12px;
}

@media (max-width: 768px) {
    .zf-add-info-row {
        grid-template-columns: 1fr;
    }

    .zf-add-info-form {
        margin: 12px;
        padding: 14px;
    }
}


/* No image fallback */
.zf-thumb,
.zf-feed-card img,
.zf-repeat-item img,
.zf-offender-profile-avatar,
.zf-offender-profile-main-avatar {
    background: #f1f5f9;
}


/* FINAL CLEANUP: stats bar */
.zf-stats-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 18px auto;
    box-sizing: border-box;
}

.zf-stats-bar {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 18px auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

.zf-stats-bar > div,
.zf-stats-bar .zf-stat-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.zf-stats-bar strong {
    display: block !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    color: #0f172a !important;
}

.zf-stats-bar span {
    display: block !important;
    margin-top: 3px !important;
    color: #64748b !important;
    font-size: 12px !important;
}

/* FINAL CLEANUP: add information as simple text link */
.zf-add-info-link,
.zf-add-info-btn {
    display: block !important;
    text-align: center !important;
    margin: 5px auto 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #2563eb !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: underline !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* FINAL CLEANUP: contain Blogfull/blog images */
.bs-blog-post,
.bs-blog-post *,
.bs-content-list,
.bs-content-list * {
    box-sizing: border-box;
}

.bs-blog-post img,
.bs-blog-thumb img,
.bs-content-list img,
.list-blog img,
.zf-blog-fallback-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

.bs-blog-post,
.list-blog {
    overflow: hidden !important;
}

.zf-blog-fallback-link,
.zf-no-image-direct-link {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.zf-blog-fallback-img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #f1f5f9;
    margin-bottom: 10px;
}

.zf-feed-card {
    overflow: hidden;
}

@media (max-width: 768px) {
    .zf-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 0 8px !important;
    }

    .zf-stats-bar strong {
        font-size: 18px !important;
    }

    .zf-stats-bar span {
        font-size: 11px !important;
    }
}


/* FINAL PROFILE GRID FIX: 3-column offender profile cards */
.zf-offender-profiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    align-items: stretch !important;
}

.zf-offender-profile-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 430px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #0f172a !important;
}

.zf-offender-profile-avatar {
    width: 100% !important;
    height: 235px !important;
    min-height: 235px !important;
    max-height: 235px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
    flex: 0 0 auto !important;
}

.zf-offender-profile-info {
    padding: 14px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.zf-offender-profile-info h3 {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

.zf-offender-profile-info p {
    margin: 4px 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.zf-missing-info {
    color: #9ca3af !important;
    font-style: italic !important;
    font-weight: 400 !important;
}

/* Keep Blogfull images contained but keep the no-image fallback JS active */
.bs-blog-post,
.bs-blog-post *,
.bs-content-list,
.bs-content-list * {
    box-sizing: border-box !important;
}

.bs-blog-post img,
.bs-blog-thumb img,
.bs-content-list img,
.list-blog img,
.zf-blog-fallback-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

.bs-blog-post,
.list-blog {
    overflow: hidden !important;
}

.zf-blog-fallback-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

.zf-blog-fallback-img {
    aspect-ratio: 1 / 1 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
}

@media (max-width: 991px) {
    .zf-offender-profiles {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .zf-offender-profiles {
        grid-template-columns: 1fr !important;
    }

    .zf-offender-profile-card {
        min-height: auto !important;
    }

    .zf-offender-profile-avatar {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
}


/* ZF notification bell fix */
#zf-notify-bell {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 999999;
}

#zf-notify-dropdown {
    display: none;
}

#zf-notify-dropdown.active {
    display: block;
}


/* ZF popup + notification repair */
.zombify-comment-modal {
    display: none;
}

.zombify-comment-modal.active {
    display: flex !important;
}

#zf-notify-bell {
    position: fixed !important;
    left: 18px !important;
    bottom: 18px !important;
    z-index: 999999 !important;
}

#zf-notify-dropdown {
    display: none;
}

#zf-notify-dropdown.active {
    display: block !important;
}


/* ZF final notification repair */
#zf-notify-bell {
    position: fixed !important;
    left: 18px !important;
    bottom: 18px !important;
    z-index: 999999 !important;
}

#zf-notify-toggle {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1px solid #111 !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 22px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

#zf-notify-dropdown {
    display: none !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 68px !important;
    width: 280px !important;
    max-height: 360px !important;
    overflow-y: auto !important;
    background: #fff !important;
    color: #111 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 6px 25px rgba(0,0,0,.3) !important;
    box-sizing: border-box !important;
}

#zf-notify-dropdown.active {
    display: block !important;
}

#zf-notify-dropdown ul {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#zf-notify-dropdown li {
    padding: 10px 0 !important;
    border-bottom: 1px solid #eee !important;
    font-size: 14px !important;
}

/* ZF stats bar styles */
.zf-stats-bar {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 18px auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

.zf-stats-bar > div,
.zf-stats-bar .zf-stat-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.zf-stats-bar strong {
    display: block !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    color: #0f172a !important;
}

.zf-stats-bar span {
    display: block !important;
    margin-top: 3px !important;
    color: #64748b !important;
    font-size: 12px !important;
}

/* ZF Blogfull no-image fallback */
.zf-blog-fallback-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
}

.zf-blog-fallback-img {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
}

.bs-blog-post img,
.bs-content-list img,
.list-blog img {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .zf-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}


/* RESTORE single offender profile timeline layout */
.zf-offender-profile-page {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.zf-offender-profile-header {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    padding: 26px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.zf-offender-profile-main-avatar {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex: 0 0 auto !important;
}

.zf-offender-profile-page > h3 {
    margin: 26px 0 14px 20px !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
}

/* Timeline should be one vertical text-only column */
.zf-offender-profile-reports {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 0 0 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.zf-offender-report-card.zf-timeline-text-only,
.zf-timeline-text-only {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 14px 0 !important;
    padding: 18px 20px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #0f172a !important;
    overflow: hidden !important;
}

/* Hide any leftover image/blank image container inside the timeline only */
.zf-timeline-text-only img,
.zf-offender-report-card.zf-timeline-text-only img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.zf-offender-report-info {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.zf-offender-report-info strong {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin: 0 0 8px 0 !important;
    color: #0f172a !important;
    word-break: break-word !important;
}

.zf-offender-report-info span,
.zf-offender-report-info small {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #64748b !important;
    margin: 3px 0 !important;
}

.zf-timeline-add-info-wrap {
    width: 100% !important;
    max-width: 520px !important;
    text-align: right !important;
    margin: 0 0 12px 8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 12px !important;
    box-sizing: border-box !important;
}

.zf-timeline-add-info-wrap .zf-add-info-link,
.zf-timeline-add-info-wrap .zf-add-info-btn {
    display: inline-block !important;
    text-align: right !important;
    margin: 0 !important;
}

.zf-timeline-community-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px 8px !important;
    box-sizing: border-box !important;
}

.zf-timeline-community-wrap .zf-profile-updates {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove accidental empty timeline placeholders */
.zf-offender-profile-reports > :empty,
.zf-offender-report-card:empty,
.zf-offender-report-info:empty,
.zf-profile-updates:empty,
.zf-profile-update-card:empty {
    display: none !important;
}

/* Do not let older timeline grid/flex rules come back */
.zf-offender-report-card:not(.zf-timeline-text-only) {
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .zf-offender-profile-header {
        gap: 16px !important;
        padding: 18px 12px !important;
    }

    .zf-offender-profile-main-avatar {
        width: 105px !important;
        height: 105px !important;
        min-width: 105px !important;
    }

    .zf-offender-profile-page > h3 {
        margin-left: 10px !important;
        font-size: 25px !important;
    }

    .zf-offender-profile-reports,
    .zf-offender-report-card.zf-timeline-text-only,
    .zf-timeline-text-only,
    .zf-timeline-add-info-wrap {
        max-width: calc(100% - 16px) !important;
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
}



/* ZF Profile Comments */
.zf-profile-comments {
    width: 100%;
    box-sizing: border-box;
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.zf-profile-comments h3 { margin: 0 0 8px; }
.zf-profile-comments-note,
.zf-profile-no-comments { color: #64748b; font-size: 14px; }
.zf-profile-comments-list { display: grid; gap: 10px; margin: 12px 0; }
.zf-profile-comment-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.zf-profile-comment-avatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.zf-profile-comment-body { flex: 1; min-width: 0; }
.zf-profile-comment-body strong,
.zf-profile-comment-body span { display: block; }
.zf-profile-comment-body span {
    color: #64748b;
    font-size: 12px;
    margin: 2px 0 6px;
}
.zf-profile-comment-text p { margin: 0 0 6px; }
.zf-profile-comment-form-wrap textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 100px;
}
.zf-profile-comment-form-wrap input[type="submit"],
.zf-profile-comment-form-wrap button[type="submit"] {
    padding: 9px 14px;
    border-radius: 8px;
    border: 0;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}


/* ZF Profile Comments Form Fix */
.zf-profile-comment-form {
    display: block !important;
    margin-top: 14px !important;
}

.zf-profile-comment-form p {
    margin: 0 0 10px !important;
}

.zf-profile-comment-form textarea,
.zf-profile-comment-form input[type="text"],
.zf-profile-comment-form input[type="email"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px;
    padding: 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    color: #111 !important;
}

.zf-profile-comment-form textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

.zf-profile-comment-form button {
    display: inline-block !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    border: 0 !important;
    background: #0f172a !important;
    color: #fff !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.zf-profile-comments-message {
    padding: 8px 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.zf-profile-comments-message.success {
    background: #dcfce7;
    color: #166534;
}

.zf-profile-comments-message.error {
    background: #fee2e2;
    color: #991b1b;
}


/* ZF hide bottom floating controls */
.zf-floating-add-post,
#zf-notify-bell,
.zf-notify-bell {
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
}

.zf-floating-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px) scale(.95) !important;
}

/* ZF stat bar style safety */
.zf-stats-bar {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 18px auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

.zf-stats-bar > div,
.zf-stats-bar .zf-stat-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.zf-stats-bar strong {
    display: block !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    color: #0f172a !important;
}

.zf-stats-bar span {
    display: block !important;
    margin-top: 3px !important;
    color: #64748b !important;
    font-size: 12px !important;
}

@media (max-width: 768px) {
    .zf-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 0 8px !important;
    }
}



/* User offender submissions sidebar */
.zf-user-submissions-sidebar {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin: 0 0 15px;
}

.zf-user-submissions-sidebar h3 {
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.zf-uos-card {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #e2e8f0;
    text-decoration: none !important;
    color: inherit !important;
}

.zf-uos-card:first-of-type {
    border-top: 0;
}

.zf-uos-card img {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
}

.zf-uos-info {
    min-width: 0;
    flex: 1;
}

.zf-uos-info strong,
.zf-uos-info span,
.zf-uos-info small {
    display: block;
}

.zf-uos-info strong {
    font-size: 13px;
    line-height: 1.25;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.zf-uos-info span,
.zf-uos-info small,
.zf-uos-empty {
    font-size: 12px;
    color: #64748b;
}

.zf-uos-empty {
    margin: 0;
}


/* ZF comment notifications in footer bell */
#zf-notify-dropdown .zf-notify-section {
    margin-top: 10px;
}

#zf-notify-dropdown .zf-notify-section strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

#zf-notify-dropdown .zf-notify-section ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#zf-notify-dropdown .zf-notify-section li {
    padding: 8px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

#zf-notify-dropdown .zf-notify-section li a {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

#zf-notify-dropdown .zf-notify-section li small {
    color: #64748b !important;
}
.zf-header-profile-li,
.zf-header-logout-li,
.zf-header-login-li {
    display: inline-flex !important;
    align-items: center !important;
}

.zf-header-profile-link,
.zf-header-logout-link,
.zf-header-login-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 6px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.zf-header-profile-link img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.zf-power-icon {
    position: relative !important;
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    border: 3px solid #dc2626 !important;
    border-top-color: transparent !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
}

.zf-power-icon::before {
    content: "" !important;
    position: absolute !important;
    top: -8px !important;
    left: 50% !important;
    width: 3px !important;
    height: 13px !important;
    background: #dc2626 !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
}

.zf-header-logout-link:hover .zf-power-icon {
    border-color: #ef4444 !important;
    border-top-color: transparent !important;
}
.zf-mobile-home-btn {
    margin-left: auto;
    margin-right: 10px;
    font-weight: 600;
}