﻿/* =========================================================
   Neighbor Posts - Admin
   ========================================================= */

.neighbor-admin-page {
    min-height: calc(100vh - 70px);
    padding: 28px 20px 45px;
    background: radial-gradient( circle at 10% 15%, rgba(249, 115, 22, .10), transparent 25% ), radial-gradient( circle at 90% 15%, rgba(236, 72, 153, .08), transparent 25% ), #f5f7fb;
}

.neighbor-admin-container {
    width: min(100%, 900px);
    margin: 0 auto;
}


/* Header */

.neighbor-page-header {
    margin-bottom: 20px;
}

.neighbor-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 17px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #64748b;
    background: rgba(255,255,255,.65);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 7px 20px rgba(31,41,55,.05);
    font-size: .68rem;
    text-decoration: none;
    transition: all .25s ease;
}

    .neighbor-back-link:hover {
        color: #ea580c;
        transform: translateX(3px);
    }

.neighbor-page-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.neighbor-page-title-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    color: #fff;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 13px 28px rgba(249,115,22,.22), inset 0 1px 0 rgba(255,255,255,.4);
}

.neighbor-page-title span {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: .63rem;
}

.neighbor-page-title h1 {
    margin: 0;
    color: #172033;
    font-size: 1.35rem;
    font-weight: 750;
}


/* Form */

.neighbor-form {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 20px 50px rgba(31,41,55,.07), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.neighbor-form-group {
    margin-bottom: 22px;
}

    .neighbor-form-group > label {
        display: block;
        margin-bottom: 8px;
        color: #334155;
        font-size: .72rem;
        font-weight: 700;
    }

.neighbor-input-wrapper,
.neighbor-textarea-wrapper {
    position: relative;
}

    .neighbor-input-wrapper > i,
    .neighbor-textarea-wrapper > i {
        position: absolute;
        top: 50%;
        right: 15px;
        z-index: 2;
        color: #94a3b8;
        font-size: .78rem;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .neighbor-textarea-wrapper > i {
        top: 18px;
        transform: none;
    }

    .neighbor-input-wrapper input,
    .neighbor-textarea-wrapper textarea {
        width: 100%;
        border: 1px solid #e2e8f0;
        outline: none;
        border-radius: 15px;
        background: rgba(255,255,255,.68);
        color: #1e293b;
        font-family: inherit;
        font-size: .72rem;
        transition: all .25s ease;
    }

    .neighbor-input-wrapper input {
        height: 48px;
        padding: 0 43px 0 15px;
    }

    .neighbor-textarea-wrapper textarea {
        min-height: 140px;
        resize: vertical;
        padding: 15px 43px 15px 15px;
        line-height: 1.9;
    }

        .neighbor-input-wrapper input:focus,
        .neighbor-textarea-wrapper textarea:focus {
            border-color: rgba(249,115,22,.45);
            background: rgba(255,255,255,.9);
            box-shadow: 0 0 0 4px rgba(249,115,22,.07);
        }

        .neighbor-input-wrapper input::placeholder,
        .neighbor-textarea-wrapper textarea::placeholder {
            color: #b0bac8;
        }


/* Image */

.neighbor-image-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.neighbor-upload-box {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 20px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 19px;
    background: rgba(248,250,252,.65);
    color: #64748b;
    cursor: pointer;
    text-align: center;
    transition: all .25s ease;
}

    .neighbor-upload-box i {
        margin-bottom: 3px;
        color: #f97316;
        font-size: 1.55rem;
    }

    .neighbor-upload-box strong {
        color: #475569;
        font-size: .72rem;
    }

    .neighbor-upload-box span {
        color: #94a3b8;
        font-size: .59rem;
    }

    .neighbor-upload-box:hover {
        border-color: rgba(249,115,22,.5);
        background: rgba(255,247,237,.7);
    }


/* Errors */

.neighbor-validation {
    margin-bottom: 18px;
    padding: 12px 15px;
    border-radius: 14px;
    color: #b91c1c;
    background: rgba(254,226,226,.65);
    border: 1px solid rgba(248,113,113,.18);
    font-size: .68rem;
}

    .neighbor-validation:empty {
        display: none;
    }

.neighbor-field-error {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: .59rem;
}


/* Actions */

.neighbor-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(148,163,184,.12);
}

.neighbor-cancel-button,
.neighbor-submit-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 19px;
    border-radius: 13px;
    font-family: inherit;
    font-size: .68rem;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
}

.neighbor-cancel-button {
    color: #64748b;
    background: rgba(241,245,249,.8);
    border: 1px solid #e2e8f0;
}

    .neighbor-cancel-button:hover {
        color: #334155;
        background: #fff;
    }

.neighbor-submit-button {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: none;
    box-shadow: 0 10px 22px rgba(249,115,22,.2);
}

    .neighbor-submit-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(249,115,22,.27);
    }


/* Mobile */

@media (max-width: 767.98px) {

    .neighbor-admin-page {
        padding: 18px 13px 30px;
    }

    .neighbor-page-title {
        gap: 12px;
    }

    .neighbor-page-title-icon {
        width: 51px;
        height: 51px;
        flex-basis: 51px;
        border-radius: 16px;
        font-size: 1.05rem;
    }

    .neighbor-page-title span {
        font-size: .56rem;
    }

    .neighbor-page-title h1 {
        font-size: 1.08rem;
    }

    .neighbor-form {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .neighbor-form-group {
        margin-bottom: 18px;
    }

        .neighbor-form-group > label {
            font-size: .64rem;
        }

    .neighbor-input-wrapper input {
        height: 45px;
        font-size: .65rem;
    }

    .neighbor-textarea-wrapper textarea {
        min-height: 125px;
        font-size: .65rem;
    }

    .neighbor-upload-box {
        min-height: 125px;
    }

    .neighbor-form-actions {
        flex-direction: column-reverse;
    }

    .neighbor-cancel-button,
    .neighbor-submit-button {
        width: 100%;
    }
}
/* =========================================================
   Neighbor Posts - Management
   ========================================================= */

.neighbor-admin-container--wide {
    width: min(100%, 1250px);
}

.neighbor-management-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.neighbor-management-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: .65rem;
}

.neighbor-management-header h1 {
    margin: 0 0 5px;
    color: #172033;
    font-size: 1.55rem;
    font-weight: 750;
}

.neighbor-management-header p {
    margin: 0;
    color: #94a3b8;
    font-size: .68rem;
}

.neighbor-add-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 10px 22px rgba(249,115,22,.2);
    font-size: .67rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all .25s ease;
}

    .neighbor-add-button:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(249,115,22,.27);
    }


/* Statistics */

.neighbor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.neighbor-stat-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border-radius: 19px;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 12px 30px rgba(31,41,55,.05), inset 0 1px 0 rgba(255,255,255,.8);
    backdrop-filter: blur(16px);
}

.neighbor-stat-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: .9rem;
}

.neighbor-stat-icon--orange {
    color: #ea580c;
    background: rgba(249,115,22,.1);
}

.neighbor-stat-icon--green {
    color: #059669;
    background: rgba(16,185,129,.1);
}

.neighbor-stat-icon--gray {
    color: #64748b;
    background: rgba(100,116,139,.09);
}

.neighbor-stat-card span {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: .59rem;
}

.neighbor-stat-card strong {
    color: #334155;
    font-size: 1rem;
}


/* Grid */

.neighbor-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


/* Card */

.neighbor-admin-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 16px 38px rgba(31,41,55,.07), inset 0 1px 0 rgba(255,255,255,.85);
    backdrop-filter: blur(18px);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .neighbor-admin-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 23px 48px rgba(31,41,55,.1), inset 0 1px 0 rgba(255,255,255,.9);
    }

    .neighbor-admin-card.is-inactive {
        opacity: .72;
    }


/* Image */

.neighbor-admin-card-image {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #f1f5f9;
}

    .neighbor-admin-card-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .4s ease;
    }

.neighbor-admin-card:hover .neighbor-admin-card-image img {
    transform: scale(1.04);
}

.neighbor-admin-card-no-image {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: .62rem;
}

    .neighbor-admin-card-no-image i {
        font-size: 1.7rem;
    }


/* Status */

.neighbor-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: .56rem;
    backdrop-filter: blur(8px);
}

    .neighbor-status-badge i {
        font-size: .4rem;
    }

    .neighbor-status-badge.is-active {
        background: rgba(5,150,105,.85);
    }

    .neighbor-status-badge.is-inactive {
        background: rgba(71,85,105,.82);
    }


/* Content */

.neighbor-admin-card-content {
    padding: 18px 18px 14px;
}

    .neighbor-admin-card-content h2 {
        margin: 0 0 7px;
        color: #1e293b;
        font-size: .91rem;
        font-weight: 700;
    }

    .neighbor-admin-card-content p {
        height: 42px;
        overflow: hidden;
        margin: 0 0 14px;
        color: #718096;
        font-size: .63rem;
        line-height: 1.8;
    }

.neighbor-admin-card-contact,
.neighbor-admin-card-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: .6rem;
}

.neighbor-admin-card-contact {
    margin-bottom: 7px;
}

    .neighbor-admin-card-contact i {
        color: #f97316;
    }

.neighbor-admin-card-date i {
    color: #94a3b8;
}


/* Actions */

.neighbor-admin-card-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 18px 17px;
    border-top: 1px solid rgba(148,163,184,.1);
}

    .neighbor-admin-card-actions form {
        margin: 0;
    }

.neighbor-card-action {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 11px;
    font-size: .68rem;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
}

.neighbor-card-action--edit {
    color: #2563eb;
    background: rgba(37,99,235,.08);
}

.neighbor-card-action--toggle {
    color: #d97706;
    background: rgba(245,158,11,.1);
}

.neighbor-card-action--delete {
    color: #dc2626;
    background: rgba(220,38,38,.08);
}

.neighbor-card-action:hover {
    transform: translateY(-2px);
    filter: brightness(.95);
}


/* Empty */

.neighbor-empty-state {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    border-radius: 25px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 18px 40px rgba(31,41,55,.05), inset 0 1px 0 rgba(255,255,255,.85);
    text-align: center;
}

.neighbor-empty-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 20px;
    color: #f97316;
    background: rgba(249,115,22,.08);
    font-size: 1.4rem;
}

.neighbor-empty-state h2 {
    margin: 0 0 7px;
    color: #334155;
    font-size: .95rem;
}

.neighbor-empty-state p {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: .65rem;
}


/* Tablet */

@media (max-width: 991.98px) {

    .neighbor-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Mobile */

@media (max-width: 767.98px) {

    .neighbor-management-header {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

        .neighbor-management-header h1 {
            font-size: 1.25rem;
        }

    .neighbor-add-button {
        width: 100%;
    }

    .neighbor-stats {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .neighbor-stat-card {
        padding: 13px;
    }

    .neighbor-admin-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .neighbor-admin-card-image {
        height: 205px;
    }

    .neighbor-admin-card {
        border-radius: 21px;
    }
}

/* =========================================================
   Neighbor Posts - Edit
   ========================================================= */

.neighbor-current-image {
    margin-bottom: 22px;
}

.neighbor-current-image-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: .68rem;
    font-weight: 700;
}

.neighbor-current-image img {
    width: 100%;
    max-height: 260px;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 12px 30px rgba(31,41,55,.08);
}

.neighbor-optional {
    margin-right: 5px;
    color: #94a3b8;
    font-size: .57rem;
    font-weight: 400;
}

.neighbor-edit-status {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 23px;
    padding: 13px 15px;
    border-radius: 15px;
    background: rgba(59,130,246,.055);
    border: 1px solid rgba(59,130,246,.09);
}

.neighbor-edit-status-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #2563eb;
    background: rgba(59,130,246,.09);
}

.neighbor-edit-status strong {
    display: block;
    margin-bottom: 3px;
    color: #334155;
    font-size: .65rem;
}

.neighbor-edit-status span {
    color: #64748b;
    font-size: .59rem;
    line-height: 1.7;
}

@media (max-width: 767.98px) {

    .neighbor-current-image img {
        max-height: 210px;
        border-radius: 15px;
    }

    .neighbor-edit-status {
        align-items: flex-start;
    }
}

/* =========================================================
   Resident Neighbor Wall
   ========================================================= */

.resident-wall-page {
    min-height: calc(100vh - 70px);
    padding: 28px 20px 45px;
    background: radial-gradient( circle at 8% 10%, rgba(249,115,22,.10), transparent 25% ), radial-gradient( circle at 92% 15%, rgba(236,72,153,.08), transparent 25% ), #f5f7fb;
}

.resident-wall-container {
    width: min(100%, 1250px);
    margin: 0 auto;
}


/* Hero */

.resident-wall-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 145px;
    padding: 28px 32px;
    margin-bottom: 28px;
    border-radius: 27px;
}

    .resident-wall-hero::before {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        top: -150px;
        right: -70px;
        border-radius: 50%;
        background: rgba(249,115,22,.13);
        filter: blur(25px);
    }

.resident-wall-hero-icon {
    position: relative;
    z-index: 2;
    width: 67px;
    height: 67px;
    flex: 0 0 67px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    color: #fff;
    font-size: 1.35rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 14px 30px rgba(249,115,22,.22), inset 0 1px 0 rgba(255,255,255,.4);
}

.resident-wall-hero > div:last-child {
    position: relative;
    z-index: 2;
}

.resident-wall-hero span {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: .62rem;
}

.resident-wall-hero h1 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 1.5rem;
    font-weight: 750;
}

.resident-wall-hero p {
    margin: 0;
    color: #718096;
    font-size: .68rem;
}


/* Heading */

.resident-wall-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
}

    .resident-wall-heading span {
        display: block;
        margin-bottom: 3px;
        color: #94a3b8;
        font-size: .61rem;
    }

    .resident-wall-heading h2 {
        margin: 0;
        color: #334155;
        font-size: 1.1rem;
        font-weight: 700;
    }

.resident-wall-count {
    padding: 6px 11px;
    border-radius: 999px;
    color: #ea580c;
    background: rgba(249,115,22,.08);
    border: 1px solid rgba(249,115,22,.1);
    font-size: .59rem;
}


/* Grid */

.resident-wall-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resident-wall-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.resident-wall-card {
    height: 100%;
    overflow: hidden;
    border-radius: 23px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: 0 15px 36px rgba(31,41,55,.065), inset 0 1px 0 rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    transition: transform .28s ease, box-shadow .28s ease;
}

.resident-wall-card-link:hover .resident-wall-card {
    transform: translateY(-5px);
    box-shadow: 0 23px 45px rgba(31,41,55,.1), inset 0 1px 0 rgba(255,255,255,.95);
}


/* Image */

.resident-wall-card-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #f1f5f9;
}

    .resident-wall-card-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .4s ease;
    }

.resident-wall-card-link:hover
.resident-wall-card-image img {
    transform: scale(1.045);
}

.resident-wall-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 2rem;
}


/* Content */

.resident-wall-card-content {
    padding: 17px 18px 18px;
}

.resident-wall-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: .56rem;
}

.resident-wall-card-content h3 {
    margin: 0 0 7px;
    color: #1e293b;
    font-size: .92rem;
    font-weight: 700;
}

.resident-wall-card-content p {
    height: 42px;
    overflow: hidden;
    margin: 0;
    color: #718096;
    font-size: .63rem;
    line-height: 1.85;
}


/* Footer */

.resident-wall-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid rgba(148,163,184,.1);
}

    .resident-wall-card-footer span {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #64748b;
        font-size: .6rem;
        direction: ltr;
    }

        .resident-wall-card-footer span i {
            color: #f97316;
        }

    .resident-wall-card-footer > i {
        color: #f97316;
        font-size: .65rem;
        transition: transform .25s ease;
    }

.resident-wall-card-link:hover
.resident-wall-card-footer > i {
    transform: translateX(-4px);
}


/* Empty */

.resident-wall-empty {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 25px;
    text-align: center;
}

.resident-wall-empty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 20px;
    color: #f97316;
    background: rgba(249,115,22,.08);
    font-size: 1.4rem;
}

.resident-wall-empty h3 {
    margin: 0 0 7px;
    color: #334155;
    font-size: .95rem;
}

.resident-wall-empty p {
    margin: 0;
    color: #94a3b8;
    font-size: .64rem;
}


/* Tablet */

@media (max-width: 991.98px) {

    .resident-wall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Mobile */

@media (max-width: 767.98px) {

    .resident-wall-page {
        padding: 18px 13px 30px;
    }

    .resident-wall-hero {
        min-height: 0;
        padding: 21px 18px;
        gap: 13px;
        border-radius: 22px;
    }

    .resident-wall-hero-icon {
        width: 53px;
        height: 53px;
        flex-basis: 53px;
        border-radius: 17px;
        font-size: 1.05rem;
    }

    .resident-wall-hero span {
        font-size: .55rem;
    }

    .resident-wall-hero h1 {
        font-size: 1.15rem;
    }

    .resident-wall-hero p {
        font-size: .6rem;
        line-height: 1.7;
    }

    .resident-wall-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .resident-wall-card {
        border-radius: 21px;
    }

    .resident-wall-card-image {
        height: 210px;
    }
}

/* =========================================================
   Resident Neighbor Post Details
   ========================================================= */

.resident-wall-details-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.resident-wall-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    transition: .25s ease;
}

    .resident-wall-back:hover {
        color: #ea580c;
        text-decoration: none;
    }

.resident-wall-details-card {
    overflow: hidden;
    border-radius: 30px;
}

.resident-wall-details-image {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background: #f8fafc;
}

    .resident-wall-details-image img {
        display: block;
        width: 100%;
        max-height: 500px;
        object-fit: cover;
    }

.resident-wall-details-image--empty {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #94a3b8;
}

    .resident-wall-details-image--empty i {
        font-size: 3.5rem;
        opacity: .45;
    }

    .resident-wall-details-image--empty span {
        font-size: .8rem;
    }

.resident-wall-details-content {
    padding: 30px 34px 28px;
}

.resident-wall-details-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.resident-wall-details-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
    font-size: .72rem;
}

.resident-wall-details-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-size: .7rem;
    font-weight: 600;
}

    .resident-wall-details-status i {
        font-size: .38rem;
    }

.resident-wall-details-content h1 {
    margin: 0 0 24px;
    color: #172033;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 750;
    line-height: 1.6;
}

.resident-wall-details-description {
    padding: 22px;
    border-radius: 20px;
    background: rgba(248, 250, 252, .72);
    border: 1px solid rgba(226, 232, 240, .75);
}

.resident-wall-details-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #475569;
    font-size: .82rem;
    font-weight: 700;
}

    .resident-wall-details-section-title i {
        color: #f97316;
    }

.resident-wall-details-description p {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
    line-height: 2.15;
    white-space: pre-line;
}

.resident-wall-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient( 135deg, rgba(249, 115, 22, .08), rgba(245, 158, 11, .04) );
    border: 1px solid rgba(249, 115, 22, .12);
}

.resident-wall-contact-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #ea580c;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 8px 20px rgba(249, 115, 22, .18);
}

.resident-wall-contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

    .resident-wall-contact-info span {
        color: #94a3b8;
        font-size: .68rem;
    }

    .resident-wall-contact-info strong {
        color: #334155;
        font-size: .95rem;
        letter-spacing: .03em;
    }

.resident-wall-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 100px;
    padding: 10px 17px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(249, 115, 22, .2);
    transition: .25s ease;
}

    .resident-wall-call-button:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(249, 115, 22, .27);
    }

.resident-wall-details-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.resident-wall-secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 13px;
    color: #64748b;
    background: rgba(241, 245, 249, .75);
    border: 1px solid rgba(226, 232, 240, .8);
    text-decoration: none;
    font-size: .76rem;
    font-weight: 600;
    transition: .25s ease;
}

    .resident-wall-secondary-button:hover {
        color: #ea580c;
        background: rgba(249, 115, 22, .07);
        text-decoration: none;
    }


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767.98px) {

    .resident-wall-details-header {
        margin-bottom: 12px;
    }

    .resident-wall-back {
        font-size: .72rem;
    }

    .resident-wall-details-card {
        border-radius: 22px;
    }

    .resident-wall-details-image,
    .resident-wall-details-image img {
        max-height: 300px;
    }

    .resident-wall-details-image--empty {
        min-height: 210px;
    }

    .resident-wall-details-content {
        padding: 20px 17px 18px;
    }

    .resident-wall-details-meta {
        margin-bottom: 12px;
    }

    .resident-wall-details-content h1 {
        margin-bottom: 18px;
        font-size: 1.2rem;
        line-height: 1.7;
    }

    .resident-wall-details-description {
        padding: 17px;
        border-radius: 17px;
    }

        .resident-wall-details-description p {
            font-size: .76rem;
            line-height: 2;
        }

    .resident-wall-contact-card {
        padding: 14px;
        gap: 10px;
        border-radius: 17px;
    }

    .resident-wall-contact-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 13px;
    }

    .resident-wall-contact-info strong {
        font-size: .8rem;
    }

    .resident-wall-call-button {
        min-width: 76px;
        padding: 9px 12px;
        font-size: .7rem;
    }

    .resident-wall-details-footer {
        margin-top: 15px;
    }
}