/* =========================================================
   רכיב בחירת קהילה אחיד (community-select) + תיבת מידע צפה
   ========================================================= */

:root {
    --cp-primary: #0c3f8b;
    --cp-primary-soft: #e8f0fc;
    --cp-accent: #4a89dc;
    --cp-border: #d6deea;
    --cp-text: #1f2937;
    --cp-muted: #6b7280;
    --cp-radius: .65rem;
    --cp-shadow: 0 18px 45px rgba(12, 63, 139, .18);
}

/* --- עטיפת השדה --- */
.community-select-wrap {
    position: relative;
    display: block;
    width: 100%;
    direction: rtl;
}

.community-select-wrap .select2-container {
    width: 100% !important;
}

/* תיבה ראשית */
.community-select-wrap .select2-container--default .select2-selection--single,
.community-select-wrap .select2-container--default .select2-selection--multiple {
    min-height: 38px;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    background: #fff;
    direction: rtl;
    text-align: right;
    transition: border-color .15s, box-shadow .15s;
    padding-inline-start: 2.2rem; /* מקום למתג החיפוש המורחב */
}

.community-select-wrap.is-sm .select2-container--default .select2-selection--single,
.community-select-wrap.is-sm .select2-container--default .select2-selection--multiple {
    min-height: 31px;
    font-size: .875rem;
}

.community-select-wrap.no-contacts .select2-container--default .select2-selection--single,
.community-select-wrap.no-contacts .select2-container--default .select2-selection--multiple {
    padding-inline-start: .5rem;
}

.community-select-wrap .select2-container--default.select2-container--focus .select2-selection--multiple,
.community-select-wrap .select2-container--default.select2-container--open .select2-selection--single,
.community-select-wrap .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.community-select-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-right: .75rem;
    padding-left: 1.6rem;
    color: var(--cp-text);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.community-select-wrap.is-sm .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 29px;
}

.community-select-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: auto;
    left: .4rem;
}

.community-select-wrap .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-left: .25rem;
    margin-right: 0;
    float: none;
    order: 2;
    font-size: 1.1rem;
    color: var(--cp-muted);
}

.community-select-wrap .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8;
}

/* בחירה מרובה - צ'יפים
   העטיפה בגובה קשיח; הצ'יפים מוצגים בשורה אחת ומצטמצמים לפי המקום.
   כשאי אפשר להציג הכל מופיע לחצן הרחבה, ובמצב מורחב התיבה צפה מעל התוכן שמתחתיה. */
.community-select-wrap.is-multiple {
    height: 38px;
}

.community-select-wrap.is-multiple.is-sm {
    height: 31px;
}

.community-select-wrap.is-multiple .select2-container--default .select2-selection--multiple {
    height: 38px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .3rem;
    padding-top: 0;
    padding-bottom: 0;
    padding-inline-end: .5rem;
    overflow: hidden;
}

.community-select-wrap.is-multiple.is-sm .select2-container--default .select2-selection--multiple {
    height: 31px;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    gap: .3rem;
    padding: 0;
    margin: 0;
    align-items: center;
    overflow: hidden;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-search--inline {
    flex: 1 1 2.5rem;
    min-width: 2.5rem;
    display: flex;
    align-items: center;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--cp-primary-soft);
    border: 1px solid #c7d7f3;
    border-radius: 999px;
    color: var(--cp-primary);
    font-weight: 600;
    font-size: .82rem;
    padding: .15rem .55rem .15rem .35rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    direction: rtl;
    flex: 0 1 auto;
    min-width: 5.5rem;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* מצב מורחב: התיבה צפה מעל התוכן, הצ'יפים נשברים לשורות */
.community-select-wrap.is-multiple.is-expanded {
    z-index: 1060;
}

.community-select-wrap.is-multiple.is-expanded .select2-container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
}

.community-select-wrap.is-multiple.is-expanded .select2-container--default .select2-selection--multiple {
    height: auto;
    min-height: 38px;
    flex-wrap: wrap;
    overflow: visible;
    padding-top: .25rem;
    padding-bottom: .25rem;
    box-shadow: 0 12px 30px rgba(12, 63, 139, .18);
}

.community-select-wrap.is-multiple.is-sm.is-expanded .select2-container--default .select2-selection--multiple {
    min-height: 31px;
}

.community-select-wrap.is-multiple.is-expanded .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    flex-wrap: wrap;
    overflow: visible;
}

.community-select-wrap.is-multiple.is-expanded .select2-container--default .select2-selection--multiple .select2-selection__choice {
    min-width: 0;
}

/* לחצן הרחבה/קיפול */
.community-select-expand {
    position: absolute;
    top: 50%;
    left: .35rem;
    transform: translateY(-50%);
    z-index: 3;
    height: 1.55rem;
    min-width: 1.55rem;
    padding: 0 .35rem;
    border-radius: 999px;
    border: 1px solid #c7d7f3;
    background: #fff;
    color: var(--cp-primary);
    display: none;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all .15s;
}

.community-select-expand i {
    font-size: .8rem;
    transition: transform .15s;
}

.community-select-expand:hover {
    background: var(--cp-primary-soft);
}

.community-select-wrap.has-overflow .community-select-expand,
.community-select-wrap.is-expanded .community-select-expand {
    display: inline-flex;
}

.community-select-wrap.is-expanded .community-select-expand {
    background: var(--cp-primary);
    border-color: var(--cp-primary);
    color: #fff;
}

.community-select-wrap.is-expanded .community-select-expand i {
    transform: rotate(180deg);
}

.community-select-wrap:not(.no-contacts) .community-select-expand {
    left: 2.05rem;
}

.community-select-wrap.is-multiple.has-overflow .select2-container--default .select2-selection--multiple,
.community-select-wrap.is-multiple.is-expanded .select2-container--default .select2-selection--multiple {
    padding-inline-start: 4.4rem;
}

.community-select-wrap.is-multiple.no-contacts.has-overflow .select2-container--default .select2-selection--multiple,
.community-select-wrap.is-multiple.no-contacts.is-expanded .select2-container--default .select2-selection--multiple {
    padding-inline-start: 2.7rem;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border: none;
    background: transparent;
    color: var(--cp-primary);
    font-size: 1rem;
    padding: 0 .1rem;
    margin: 0;
    order: 2;
    line-height: 1;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #b91c1c;
    background: transparent;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    flex: 0 0 auto;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin: 0;
    min-height: 26px;
    height: 26px;
    width: 100% !important;
    font-family: inherit;
    direction: rtl;
}

.community-select-wrap .select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin: 0;
    order: 99;
    font-size: 1.1rem;
    color: var(--cp-muted);
}

.community-select-wrap .select2-container--default.select2-container--disabled .select2-selection--single,
.community-select-wrap .select2-container--default.select2-container--disabled .select2-selection--multiple {
    background: #f1f5f9;
}

/* מתג חיפוש מורחב (אנשי קשר) */
.community-select-mode {
    position: absolute;
    top: 50%;
    left: .35rem;
    transform: translateY(-50%);
    z-index: 3;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    cursor: pointer;
    transition: all .15s;
    padding: 0;
}

.community-select-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.community-select-mode:hover {
    color: var(--cp-primary);
    background: var(--cp-primary-soft);
}

.community-select-mode.is-on {
    color: #fff;
    background: var(--cp-primary);
    border-color: var(--cp-primary);
    box-shadow: 0 2px 8px rgba(12, 63, 139, .3);
}

.community-select-wrap.is-multiple .community-select-mode {
    top: 50%;
    transform: translateY(-50%);
}

/* תפריט נפתח */
.select2-container--default .community-select-dropdown {
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow);
    overflow: hidden;
    direction: rtl;
    font-family: inherit;
    z-index: 2000;
}

.community-select-dropdown .select2-search--dropdown {
    padding: .5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e9f0;
}

.community-select-dropdown .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--cp-border);
    border-radius: .5rem;
    padding: .45rem .7rem;
    direction: rtl;
    font-family: inherit;
    outline: none;
}

.community-select-dropdown .select2-search--dropdown .select2-search__field:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .12);
}

.community-select-dropdown .select2-results__option {
    padding: 0;
}

.community-select-dropdown .select2-results__option--highlighted[aria-selected],
.community-select-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--cp-primary-soft);
    color: var(--cp-text);
}

.community-select-dropdown .select2-results__option[aria-selected="true"],
.community-select-dropdown .select2-results__option--selected {
    background: #eef6ee;
}

.community-select-dropdown .select2-results__option--highlighted .cp-opt-code {
    background: var(--cp-primary);
    color: #fff;
}

.community-select-dropdown .select2-results__option .select2-results__option {
    padding: 0;
}

.community-select-dropdown .select2-results__option.loading-results,
.community-select-dropdown .select2-results__message {
    padding: .6rem .9rem;
    color: var(--cp-muted);
    font-size: .9rem;
}

.community-select-dropdown .select2-results > .select2-results__options {
    max-height: 320px;
}

/* פריט תוצאה */
.cp-opt {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .75rem;
    direction: rtl;
    text-align: right;
}

.cp-opt-logo {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: var(--cp-primary-soft);
    color: var(--cp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    overflow: hidden;
}

.cp-opt-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-opt-body {
    flex: 1 1 auto;
    min-width: 0;
}

.cp-opt-title {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--cp-text);
    line-height: 1.2;
}

.cp-opt-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-opt-code {
    font-size: .72rem;
    font-weight: 700;
    background: #eef2f9;
    color: var(--cp-primary);
    border-radius: 999px;
    padding: .05rem .5rem;
    direction: ltr;
    flex: 0 0 auto;
}

.cp-opt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .76rem;
    color: var(--cp-muted);
    margin-top: .1rem;
}

.cp-opt-meta i {
    margin-left: .2rem;
    opacity: .75;
}

.cp-opt-match {
    color: #0f766e;
    font-weight: 600;
}

.cp-opt-inactive {
    color: #b45309;
    font-weight: 600;
}

.cp-opt.is-inactive .cp-opt-name {
    color: #6b7280;
}

/* תצוגת הערך הנבחר */
.cp-sel {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    max-width: 100%;
    min-width: 0;
    direction: rtl;
}

.cp-sel-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
}

.cp-sel-code {
    font-size: .72rem;
    font-weight: 700;
    background: #eef2f9;
    color: var(--cp-primary);
    border-radius: 999px;
    padding: 0 .45rem;
    direction: ltr;
    flex: 0 0 auto;
}

.select2-selection__choice .cp-sel-code {
    background: #fff;
}

/* כפתור מידע קטן בתוך הערך הנבחר */
.cp-sel-info {
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 0 .15rem;
    line-height: 1;
    font-size: .85rem;
    cursor: pointer;
    flex: 0 0 auto;
}

.cp-sel-info:hover {
    color: var(--cp-primary);
}

/* ===================== קוד קהילה + טריגר מידע ===================== */
.community-code {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    white-space: nowrap;
    direction: rtl;
}

.community-code-text {
    direction: ltr;
}

.community-code-badge {
    background: #eef2f9;
    color: var(--cp-primary);
    border-radius: 999px;
    padding: .05rem .5rem;
    font-weight: 700;
    font-size: .8rem;
}

.community-code.is-empty {
    color: #94a3b8;
}

.community-info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: #a3b1c6;
    font-size: .7rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: all .15s;
    vertical-align: middle;
    flex: 0 0 auto;
}

.community-info-trigger:hover,
.community-info-trigger:focus-visible,
.community-info-trigger.is-open {
    color: #fff;
    background: var(--cp-primary);
    border-color: var(--cp-primary);
    outline: none;
}

/* במכשירי מגע הטריגר תמיד נראה; בעכבר - מודגש בריחוף על השורה */
@media (hover: hover) {
    .community-code .community-info-trigger {
        opacity: .55;
    }

    .community-code:hover .community-info-trigger,
    tr:hover .community-code .community-info-trigger,
    .card:hover .community-code .community-info-trigger {
        opacity: 1;
    }
}

/* ===================== תיבת מידע צפה ===================== */
.community-info-pop {
    position: absolute;
    z-index: 2100;
    width: 380px;
    max-width: calc(100vw - 16px);
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 1rem;
    box-shadow: var(--cp-shadow);
    direction: rtl;
    text-align: right;
    font-size: .9rem;
    color: var(--cp-text);
    opacity: 0;
    transform: translateY(6px) scale(.98);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
    overflow: hidden;
}

.community-info-pop.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.community-info-pop .cip-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--cp-border);
    border-top: 1px solid var(--cp-border);
    transform: rotate(45deg);
    top: -7px;
}

.community-info-pop.is-above .cip-arrow {
    top: auto;
    bottom: -7px;
    transform: rotate(225deg);
}

.cip-header {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem .95rem .7rem;
    background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e9eef6;
}

.cip-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: var(--cp-primary-soft);
    color: var(--cp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(12, 63, 139, .15);
}

.cip-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cip-title-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.cip-title {
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--cp-primary);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
}

.cip-code {
    font-size: .74rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid #c7d7f3;
    color: var(--cp-primary);
    border-radius: 999px;
    padding: .02rem .5rem;
    direction: ltr;
}

.cip-sub {
    font-size: .8rem;
    color: var(--cp-muted);
    margin-top: .15rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cip-sub i {
    margin-left: .2rem;
    opacity: .75;
}

.cip-close {
    border: none;
    background: transparent;
    color: var(--cp-muted);
    font-size: 1.25rem;
    line-height: 1;
    padding: .1rem .3rem;
    cursor: pointer;
    align-self: flex-start;
}

.cip-close:hover {
    color: #b91c1c;
}

.cip-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .55rem .95rem 0;
}

.cip-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .74rem;
    font-weight: 600;
    border-radius: 999px;
    padding: .12rem .55rem;
    background: #f1f5f9;
    color: #475569;
}

.cip-pill.ok {
    background: #e6f6ec;
    color: #15803d;
}

.cip-pill.warn {
    background: #fef3c7;
    color: #b45309;
}

.cip-pill.info {
    background: var(--cp-primary-soft);
    color: var(--cp-primary);
}

.cip-body {
    padding: .6rem .95rem .3rem;
    max-height: 50vh;
    overflow: auto;
}

.cip-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem;
    font-weight: 700;
    color: var(--cp-muted);
    text-transform: none;
    margin: .35rem 0 .35rem;
    letter-spacing: .2px;
}

.cip-contacts {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.cip-contact {
    border: 1px solid #e9eef6;
    border-radius: .7rem;
    background: #fbfcfe;
    overflow: hidden;
}

.cip-contact-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .6rem;
    cursor: pointer;
    user-select: none;
}

.cip-contact-head:hover {
    background: #f1f5fb;
}

.cip-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a89dc, #0c3f8b);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
}

.cip-contact-name {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cip-contact-brief {
    font-size: .74rem;
    color: var(--cp-muted);
    display: flex;
    gap: .4rem;
    flex: 0 0 auto;
}

.cip-contact-brief i {
    margin-left: .15rem;
}

.cip-contact-toggle {
    color: #94a3b8;
    font-size: .75rem;
    transition: transform .15s;
    flex: 0 0 auto;
}

.cip-contact.is-open .cip-contact-toggle {
    transform: rotate(180deg);
}

.cip-contact-details {
    display: none;
    padding: .1rem .6rem .55rem 2.6rem;
    font-size: .82rem;
}

.cip-contact.is-open .cip-contact-details {
    display: block;
}

.cip-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem .5rem;
    margin-top: .25rem;
}

.cip-line i {
    width: 1rem;
    text-align: center;
    color: #94a3b8;
}

.cip-line a {
    color: var(--cp-primary);
    text-decoration: none;
    direction: ltr;
    unicode-bidi: isolate;
}

.cip-line a:hover {
    text-decoration: underline;
}

.cip-email.is-verified::after {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #15803d;
    font-size: .7rem;
    margin-right: .2rem;
}

.cip-email.is-inactive {
    text-decoration: line-through;
    opacity: .6;
}

.cip-copy {
    border: none;
    background: transparent;
    color: #a3b1c6;
    padding: 0 .15rem;
    font-size: .75rem;
    cursor: pointer;
}

.cip-copy:hover {
    color: var(--cp-primary);
}

.cip-empty {
    color: #94a3b8;
    font-size: .82rem;
    padding: .3rem 0;
}

.cip-notes {
    background: #fffbeb;
    border: 1px dashed #fcd34d;
    border-radius: .55rem;
    padding: .4rem .6rem;
    font-size: .8rem;
    color: #92400e;
    margin-top: .5rem;
    white-space: pre-line;
}

.cip-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .55rem .95rem .85rem;
    border-top: 1px solid #e9eef6;
    background: #fafbfd;
}

.cip-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--cp-primary);
    background: #fff;
    border: 1px solid #c7d7f3;
    border-radius: 999px;
    padding: .25rem .65rem;
    text-decoration: none;
    transition: all .15s;
}

.cip-link:hover {
    background: var(--cp-primary);
    color: #fff;
    border-color: var(--cp-primary);
}

.cip-link.edit {
    border-color: #fcd34d;
    color: #b45309;
    background: #fffbeb;
}

.cip-link.edit:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
}

.cip-loading,
.cip-error {
    padding: 1.2rem;
    text-align: center;
    color: var(--cp-muted);
}

.cip-error {
    color: #b91c1c;
}

/* במובייל - גיליון תחתון */
@media (max-width: 575.98px) {
    .community-info-pop {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 1rem 1rem 0 0;
        transform: translateY(20px);
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .community-info-pop .cip-arrow {
        display: none;
    }

    .community-info-pop .cip-body {
        max-height: none;
        flex: 1 1 auto;
    }
}

.community-info-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2090;
    background: rgba(15, 23, 42, .25);
    display: none;
}

@media (max-width: 575.98px) {
    .community-info-backdrop.is-visible {
        display: block;
    }
}
