            #public-feed {



                background:



                    radial-gradient(circle at 8% 8%, rgba(241, 82, 82, .045), transparent 30%),



                    #fff;



            }







            #communityFeed {



                max-width: 880px;



                margin-left: auto;



                margin-right: auto;



            }







            #communityFeed .feed-card {



                width: 100%;



                max-width: 880px;



                margin-left: auto;



                margin-right: auto;



                border: 1px solid rgba(0,0,0,.07) !important;



                border-radius: 14px;



                background: #fff;



                transition: transform .22s ease, box-shadow .22s ease;



            }







            #communityFeed .feed-card:hover {



                transform: translateY(-2px);



                box-shadow: 0 .75rem 2rem rgba(0,0,0,.08) !important;



            }







            #communityFeed .feed-media {



                position: relative;



                overflow: hidden;



                height: 320px;



                background: #101010;



            }







            #communityFeed .feed-card .card-body {



                padding: 1.25rem 1.35rem !important;



            }







            #communityFeed .feed-media > img,



            #communityFeed .feed-media > video,



            #communityFeed .feed-media iframe {



                width: 100%;



                height: 100%;



                object-fit: cover;



                display: block;



            }







            #communityFeed .feed-media img,



            #communityFeed .feed-gallery img {



                transition: transform .45s ease;



            }







            #communityFeed .feed-card:hover .feed-media img {



                transform: scale(1.035);



            }







            #communityFeed .feed-media-badge {



                position: absolute;



                left: 14px;



                bottom: 14px;



                z-index: 2;



                padding: .35rem .6rem;



                border-radius: 50rem;



                background: rgba(13, 13, 13, .78);



                color: #fff;



                font-size: .72rem;



                font-weight: 700;



                backdrop-filter: blur(6px);



            }







            #communityFeed .feed-gallery {



                display: grid;



                grid-template-columns: repeat(2, 1fr);



                gap: 2px;



                height: 320px;



                background: #101010;



                overflow: hidden;



            }







            #communityFeed .feed-gallery > button {



                position: relative;



                min-width: 0;



                aspect-ratio: 1 / 1;



                padding: 0;



                border: 0;



                overflow: hidden;



                background: #101010;



            }







            #communityFeed .feed-gallery > button img,



            #communityFeed .feed-gallery > button video {



                width: 100%;



                height: 100%;



                object-fit: cover;



                display: block;



            }







            #communityFeed .feed-gallery > button:hover img {



                transform: scale(1.045);



            }







            #communityFeed .feed-gallery-more {



                position: absolute;



                inset: 0;



                display: flex;



                align-items: center;



                justify-content: center;



                flex-direction: column;



                background: rgba(13, 13, 13, .58);



                color: #fff;



            }







            .public-feed-modal .modal-content {



                border: 0;



                border-radius: 14px;



                overflow: hidden;



                box-shadow: 0 2rem 5rem rgba(0, 0, 0, .30);



            }







            .public-feed-modal .feed-detail-media {



                background: #0b0b0b;



                min-height: 260px;



            }







            .public-feed-modal .feed-detail-media img,



            .public-feed-modal .feed-detail-media video,



            .public-feed-modal .feed-detail-media iframe {



                display: block;



                width: 100%;



                max-height: 68vh;



                min-height: 260px;



                object-fit: contain;



                border: 0;



                background: #0b0b0b;



            }







            .public-feed-modal .feed-detail-gallery {



                display: grid;



                grid-template-columns: repeat(2, 1fr);



                gap: 2px;



                background: #0b0b0b;



            }







            .public-feed-modal .feed-detail-gallery button {



                position: relative;



                border: 0;



                padding: 0;



                overflow: hidden;



                background: #0b0b0b;



                cursor: zoom-in;



            }







            .public-feed-modal .feed-detail-gallery img,



            .public-feed-modal .feed-detail-gallery video {



                width: 100%;



                height: min(42vh, 360px);



                object-fit: cover;



                display: block;



                transition: transform .35s ease;



            }







            .public-feed-modal .feed-detail-gallery button:hover img {



                transform: scale(1.035);



            }







            .public-feed-modal .feed-media-number {



                position: absolute;



                right: 12px;



                bottom: 12px;



                z-index: 2;



                padding: .3rem .55rem;



                border-radius: 50rem;



                background: rgba(13, 13, 13, .78);



                color: #fff;



                font-size: .7rem;



                font-weight: 700;



            }







            .feed-lightbox .modal-content {



                min-height: 100vh;



                border: 0;



                border-radius: 0;



                background: rgba(5, 5, 5, .98);



            }







            .feed-lightbox .modal-dialog {



                max-width: none;



                margin: 0;



            }







            .feed-lightbox .modal-body {



                min-height: 100vh;



                padding: 0;



                display: flex;



                flex-direction: column;



            }







            .feed-lightbox .carousel,



            .feed-lightbox .carousel-inner,



            .feed-lightbox .carousel-item {



                flex: 1 1 auto;



                min-height: 0;



            }







            .feed-lightbox .carousel-item {



                min-height: calc(100vh - 145px);



                align-items: center;



                justify-content: center;



                padding: 55px 70px 15px;



            }







            .feed-lightbox .carousel-item.active {



                display: flex;



            }







            .feed-lightbox .carousel-item img,



            .feed-lightbox .carousel-item video,



            .feed-lightbox .carousel-item iframe {



                max-width: 100%;



                max-height: calc(100vh - 180px);



                width: auto;



                height: auto;



                object-fit: contain;



                border: 0;



            }







            .feed-lightbox .carousel-item iframe {



                width: min(1100px, 92vw);



                aspect-ratio: 16 / 9;



            }







            .feed-lightbox-caption {



                position: relative;



                z-index: 3;



                padding: 14px 60px 18px;



                background: rgba(0, 0, 0, .88);



                color: #fff;



            }







            .feed-lightbox-caption h5 {



                color: #fff;



                font-family: inherit !important;



                font-size: 1rem;



                font-weight: 700 !important;



            }







            .feed-lightbox-caption p {



                color: rgba(255,255,255,.68);



                font-size: .82rem;



                margin: 0;



            }







            .feed-lightbox .carousel-control-prev,



            .feed-lightbox .carousel-control-next {



                width: 64px;



            }







            .feed-lightbox .btn-close {



                position: absolute;



                top: 18px;



                right: 20px;



                z-index: 20;



                width: 38px;



                height: 38px;



                border-radius: 50%;



                opacity: 1;



                background-color: rgba(255,255,255,.12);



                filter: invert(1);



            }







            @media (max-width: 767.98px) {



                #public-feed {



                    padding-top: 4rem !important;



                    padding-bottom: 4rem !important;



                }







                #communityFeed .card-body {



                    padding: 1.05rem !important;



                }







                #communityFeed .feed-media {



                    height: 220px;



                }







                #communityFeed .feed-gallery {



                    height: 220px;



                }







                .public-feed-modal .feed-detail-gallery {



                    grid-template-columns: 1fr;



                }







                .public-feed-modal .feed-detail-gallery img,



                .public-feed-modal .feed-detail-gallery video {



                    height: 245px;



                }







                .feed-lightbox .carousel-item {



                    min-height: calc(100vh - 125px);



                    padding: 55px 12px 8px;



                }







                .feed-lightbox .carousel-item img,



                .feed-lightbox .carousel-item video,



                .feed-lightbox .carousel-item iframe {



                    max-width: 100%;



                    max-height: calc(100vh - 170px);



                }







                .feed-lightbox .carousel-control-prev,



                .feed-lightbox .carousel-control-next {



                    width: 48px;



                }







                .feed-lightbox-caption {



                    padding: 12px 50px 15px;



                }



            }





            #communityFeed {



                width: 100%;



                max-width: none;



                margin-left: auto;



                margin-right: auto;



                --bs-gutter-y: .9rem;



            }







            #communityFeed > .col {



                width: 100%;



                max-width: 100%;



                padding-left: 0;



                padding-right: 0;



            }







            #communityFeed .forum-feed-card {



                width: 100%;



                max-width: none;



                margin: 0;



                border: 1px solid rgba(0,0,0,.075) !important;



                border-radius: 12px !important;



                background: #fff;



                box-shadow: 0 .25rem 1rem rgba(0,0,0,.045) !important;



                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;



            }







            #communityFeed .forum-feed-card:hover {



                transform: translateY(-1px);



                border-color: rgb(241 82 82 / 30%) !important;



                box-shadow: 0 .55rem 1.5rem rgba(0,0,0,.07) !important;



            }







            #communityFeed .forum-feed-layout {



                display: flex;



                align-items: stretch;



                min-height: 136px;



            }










            #communityFeed .forum-feed-media-wrap {



                flex: 0 0 190px;



                width: 190px;



                overflow: hidden;



                background: #101010;



            }







            #communityFeed .forum-feed-media-wrap .feed-media {



                width: 190px !important;



                height: 136px !important;



                min-height: 136px !important;



                max-height: 136px !important;



                padding-top: 0 !important;



                aspect-ratio: auto !important;



                border: 0 !important;



            }







            #communityFeed .forum-feed-media-wrap .feed-media > img,



            #communityFeed .forum-feed-media-wrap .feed-media > video,



            #communityFeed .forum-feed-media-wrap .feed-media iframe {



                width: 100%;



                height: 100%;



                object-fit: cover;



                display: block;



            }







            #communityFeed .forum-feed-media-wrap .feed-gallery {



                width: 190px;



                height: 136px !important;



                max-height: 136px !important;



                display: grid;



                grid-template-columns: repeat(2, 1fr);



                gap: 2px;



            }







            #communityFeed .forum-feed-media-wrap .feed-gallery > button {



                min-height: 0;



                aspect-ratio: auto !important;



                height: 67px;



            }










            #communityFeed .forum-feed-media-wrap .row {



                width: 190px;



                height: 136px;



                margin: 0;



            }







            #communityFeed .forum-feed-media-wrap .row > .feed-media {



                width: 95px !important;



                height: 136px !important;



                flex: 0 0 50%;



            }







            #communityFeed .feed-media-badge {



                left: 7px;



                bottom: 7px;



                padding: .2rem .38rem;



                font-size: .58rem;



            }







            #communityFeed .forum-feed-body {



                min-width: 0;



                flex: 1 1 auto;



                padding: .9rem 1.05rem !important;



            }







            #communityFeed .forum-feed-meta {



                margin-bottom: 1.2rem;



                line-height: 1.2;



            }







            #communityFeed .forum-feed-type,



            #communityFeed .forum-feed-date {



                font-size: .66rem;



                letter-spacing: .03em;



            }







            #communityFeed .forum-feed-title {



                margin: 0 0 .28rem;



                font-size: 1.35rem;



                line-height: 1.35;



                color: #1b1b1b;



            }







            #communityFeed .forum-feed-description {



                margin: 0 0 .55rem;



                font-size: .99rem;



                line-height: 1.45;



                display: -webkit-box;



                -webkit-line-clamp: 2;



                -webkit-box-orient: vertical;



                overflow: hidden;



            }







            #communityFeed .forum-feed-footer {



                min-height: 29px;



            }







            #communityFeed .forum-feed-media-count {
                color: #bd654b !important;
                font-size: 10px;
                text-transform: uppercase !important;
                font-weight: 700 !important;
                letter-spacing: .04em;
                white-space: nowrap;
            }







            #communityFeed .forum-feed-open {



                padding: .3rem .62rem !important;



                font-size: .88rem !important;



                line-height: 1.2;



                border-radius: 30px !important;



                white-space: nowrap;



            }









            #communityFeed .forum-feed-card.is-text-only .forum-feed-body {



                min-height: 120px;



            }











            #communityFeed .forum-feed-loading-card {



                display: flex;



                width: 100%;



                min-height: 136px;



                border: 1px solid rgba(0,0,0,.06);



                border-radius: 12px;



                overflow: hidden;



                background: #fff;



            }







            #communityFeed .forum-feed-loading-media {



                flex: 0 0 190px;



                width: 190px;



                min-height: 136px;



                background: #f1f3f5;



                animation: forumFeedPulse 1.4s ease-in-out infinite;



            }







            #communityFeed .forum-feed-loading-body {



                flex: 1;



                padding: .9rem 1rem;



            }







            #communityFeed .forum-feed-skeleton {



                display: block;



                height: 8px;



                margin-bottom: 9px;



                border-radius: 4px;



                background: #edf0f2;



                animation: forumFeedPulse 1.4s ease-in-out infinite;



            }







            #communityFeed .forum-feed-skeleton.skeleton-meta { width: 18%; }



            #communityFeed .forum-feed-skeleton.skeleton-title { width: 48%; height: 13px; }



            #communityFeed .forum-feed-skeleton.skeleton-line { width: 88%; }



            #communityFeed .forum-feed-skeleton.skeleton-line.short { width: 62%; }



            #communityFeed .forum-feed-skeleton.skeleton-button { width: 72px; height: 25px; margin: 8px 0 0 auto; }







            @keyframes forumFeedPulse {



                0%, 100% { opacity: .55; }



                50% { opacity: 1; }



            }







            @media (max-width: 767.98px) {



                #communityFeed .forum-feed-layout {



                    display: block;



                    min-height: 0;



                }







                #communityFeed .forum-feed-media-wrap {



                    width: 100%;



                    height: 175px;



                    flex: none;



                }







                #communityFeed .forum-feed-media-wrap .feed-media {



                    width: 100% !important;



                    height: 175px !important;



                    min-height: 175px !important;



                    max-height: 175px !important;



                }







                #communityFeed .forum-feed-media-wrap .feed-gallery {



                    width: 100%;



                    height: 175px !important;



                    max-height: 175px !important;



                }







                #communityFeed .forum-feed-media-wrap .feed-gallery > button {



                    height: 86px;



                }







                #communityFeed .forum-feed-media-wrap .row {



                    width: 100%;



                    height: 175px;



                }







                #communityFeed .forum-feed-media-wrap .row > .feed-media {



                    width: 50% !important;



                    height: 175px !important;



                }







                #communityFeed .forum-feed-body {



                    padding: .75rem .85rem !important;



                    min-height: 112px;



                }







                #communityFeed .forum-feed-title {



                    font-size: .94rem;



                }







                #communityFeed .forum-feed-description {



                    font-size: .73rem;



                }







                #communityFeed .forum-feed-loading-card {



                    display: block;



                    min-height: 0;



                }







                #communityFeed .forum-feed-loading-media {



                    width: 100%;



                    height: 150px;



                    min-height: 150px;



                }



            }





.theabs-centered-feed-modal .modal-dialog {

        width: calc(100% - 2rem);

        max-width: 920px;

        margin: 1.5rem auto;

    }



    .theabs-centered-feed-modal .modal-content {

        border: 0;

        border-radius: 14px;

        overflow: hidden;

        background: #fff;

        box-shadow: 0 1.5rem 4rem rgba(0,0,0,.22);

    }



    .theabs-centered-feed-modal .feed-detail-header {

        min-height: 56px;

        display: flex;

        align-items: center;

        gap: 12px;

        padding: 0 16px;

        border-bottom: 1px solid rgba(0,0,0,.07);

        background: #fff;

    }



    .theabs-centered-feed-modal .feed-detail-back,

    .theabs-centered-feed-modal .feed-detail-close {

        border: 0;

        background: transparent;

        color: #737373;

        font-size: .78rem;

        font-weight: 600;

    }



    .theabs-centered-feed-modal .feed-detail-back {

        padding: 7px 4px;

    }



    .theabs-centered-feed-modal .feed-detail-back:hover,

    .theabs-centered-feed-modal .feed-detail-close:hover {

        color: var(--bs-primary);

    }



    .theabs-centered-feed-modal .feed-detail-counter {

        margin-left: auto;

        color: #737373;

        font-size: .72rem;

        font-weight: 700;

        white-space: nowrap;

    }



    .theabs-centered-feed-modal .feed-detail-close {

        width: 34px;

        height: 34px;

        padding: 0;

        border-radius: 50%;

        display: inline-flex;

        align-items: center;

        justify-content: center;

    }



    .theabs-centered-feed-modal .feed-detail-close:hover {

        background: rgba(241,82,82,.08);

    }



    .theabs-centered-feed-modal .feed-detail-media-area {

        padding: 18px 20px 16px;

        background: #f6f7f9;

    }



    .theabs-centered-feed-modal .feed-detail-stage {

        position: relative;

        width: 100%;

        height: 410px;

        display: flex;

        align-items: center;

        justify-content: center;

        overflow: hidden;

        border-radius: 9px;

        background: #111;

    }



    .theabs-centered-feed-modal .feed-detail-stage img,

    .theabs-centered-feed-modal .feed-detail-stage video,

    .theabs-centered-feed-modal .feed-detail-stage iframe {

        width: 100%;

        height: 100%;

        display: block;

        object-fit: contain;

        border: 0;

    }



    .theabs-centered-feed-modal .feed-detail-media-counter {

        position: absolute;

        right: 10px;

        bottom: 10px;

        padding: 4px 8px;

        border-radius: 999px;

        color: #fff;

        background: rgba(0,0,0,.68);

        font-size: .66rem;

        font-weight: 700;

    }



    .theabs-centered-feed-modal .feed-detail-text-only {

        width: 100%;

        height: 180px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 7px;

        border: 1px dashed rgba(0,0,0,.12);

        border-radius: 9px;

        color: #737373;

        background: #fff;

        font-size: .76rem;

        font-weight: 600;

    }



    .theabs-centered-feed-modal .feed-detail-text-only i {

        color: var(--bs-primary);

        font-size: 1.2rem;

    }



    .theabs-centered-feed-modal .feed-detail-info {

        padding: 17px 20px 18px;

    }



    .theabs-centered-feed-modal .feed-detail-meta {

        margin-bottom: 4px;

        color: var(--bs-primary);

        font-size: .65rem;

        font-weight: 700;

        letter-spacing: .035em;

        text-transform: uppercase;

    }



    .theabs-centered-feed-modal .feed-detail-title {

        margin: 0 0 7px;

        color: #0d0d0d;

        font-family: 'Open', sans-serif !important;

        font-size: 1.2rem;

        line-height: 1.35;

        font-weight: 700 !important;

    }



    .theabs-centered-feed-modal .feed-detail-description {

        margin: 0;

        color: #737373;

        font-size: .78rem;

        line-height: 1.55;

        white-space: pre-wrap;

    }



    .theabs-centered-feed-modal .feed-detail-thumbs {

        display: flex;

        gap: 7px;

        margin-top: 14px;

        padding-bottom: 2px;

        overflow-x: auto;

        scrollbar-width: thin;

    }



    .theabs-centered-feed-modal .feed-detail-thumb {

        position: relative;

        flex: 0 0 68px;

        width: 68px;

        height: 49px;

        padding: 0;

        overflow: hidden;

        border: 2px solid transparent;

        border-radius: 6px;

        background: #111;

        cursor: pointer;

        opacity: .72;

    }



    .theabs-centered-feed-modal .feed-detail-thumb:hover,

    .theabs-centered-feed-modal .feed-detail-thumb.active {

        opacity: 1;

    }



    .theabs-centered-feed-modal .feed-detail-thumb.active {

        border-color: var(--bs-primary);

    }



    .theabs-centered-feed-modal .feed-detail-thumb img,

    .theabs-centered-feed-modal .feed-detail-thumb video {

        width: 100%;

        height: 100%;

        display: block;

        object-fit: cover;

    }



    .theabs-centered-feed-modal .feed-detail-youtube-thumb {

        width: 100%;

        height: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        color: #fff;

        background: #161616;

        font-size: 1rem;

    }



    .theabs-centered-feed-modal .feed-detail-thumb-number {

        position: absolute;

        right: 3px;

        bottom: 2px;

        padding: 1px 4px;

        border-radius: 3px;

        color: #fff;

        background: rgba(0,0,0,.65);

        font-size: .55rem;

        font-weight: 700;

    }



    .theabs-centered-feed-modal .feed-detail-navigation {

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 10px;

        margin-top: 14px;

        padding-top: 13px;

        border-top: 1px solid rgba(0,0,0,.07);

    }



    .theabs-centered-feed-modal .feed-detail-nav-btn {

        min-width: 105px;

        padding: .38rem .7rem;

        border-radius: 30px;

        font-size: .7rem;

        font-weight: 600;

    }



    @media (max-width: 767.98px) {

        .theabs-centered-feed-modal .modal-dialog {

            width: calc(100% - 1rem);

            max-width: none;

            margin: .5rem auto;

        }



        .theabs-centered-feed-modal .modal-content {

            border-radius: 10px;

        }



        .theabs-centered-feed-modal .feed-detail-header {

            min-height: 52px;

            padding: 0 11px;

        }



        .theabs-centered-feed-modal .feed-detail-media-area {

            padding: 10px;

        }



        .theabs-centered-feed-modal .feed-detail-stage {

            height: 260px;

            border-radius: 7px;

        }



        .theabs-centered-feed-modal .feed-detail-info {

            padding: 14px 12px 15px;

        }



        .theabs-centered-feed-modal .feed-detail-title {

            font-size: 1rem;

        }



        .theabs-centered-feed-modal .feed-detail-description {

            font-size: .74rem;

        }



        .theabs-centered-feed-modal .feed-detail-thumb {

            flex-basis: 62px;

            width: 62px;

            height: 45px;

        }



        .theabs-centered-feed-modal .feed-detail-nav-btn {

            min-width: 0;

            flex: 1;

        }

    }




.theabs-centered-feed-modal .feed-detail-main-media {

    position: relative;

    width: 100%;

    height: 410px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 9px;

    background: #111;

}



.theabs-centered-feed-modal .feed-detail-selected-media {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: contain;

    border: 0;

    background: #111;

}



.theabs-centered-feed-modal .feed-detail-youtube {

    aspect-ratio: 16 / 9;

}



.theabs-centered-feed-modal .feed-detail-thumb-icon {

    position: absolute;

    left: 50%;

    top: 50%;

    width: 24px;

    height: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    color: #fff;

    background: rgba(0,0,0,.68);

    font-size: .62rem;

    pointer-events: none;

}



@media (max-width: 767.98px) {

    .theabs-centered-feed-modal .feed-detail-main-media {

        height: 260px;

        border-radius: 7px;

    }

}

/* Explicit empty/error state for an empty public feed */
.feed-empty-state {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
}

.feed-empty-state h3 {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
}

.feed-empty-state i {
    color: var(--forest2);
}

.feed-empty-state p {
    max-width: 560px;
}


/* Current ABS Foundation theme + true viewport-centered post modal */
.theabs-centered-feed-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 2000 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow-y: auto !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    background: rgba(19,43,67,.72) !important;
}

.theabs-centered-feed-modal.show {
    display: flex !important;
}

.theabs-centered-feed-modal .modal-dialog {
    position: relative !important;
    width: min(920px, 100%) !important;
    max-width: 920px !important;
    margin: 0 auto !important;
    transform: none !important;
}

.theabs-centered-feed-modal .modal-content {
    background: #fff;
    border: 1px solid #dce4eb;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(23,37,54,.22);
}

.theabs-centered-feed-modal .feed-detail-header {
    background: #fbfaf7;
    border-bottom: 1px solid #dce4eb;
}

.theabs-centered-feed-modal .feed-detail-back,
.theabs-centered-feed-modal .feed-detail-close {
    color: #526170;
}

.theabs-centered-feed-modal .feed-detail-back:hover,
.theabs-centered-feed-modal .feed-detail-close:hover {
    color: #173b5f;
}

.theabs-centered-feed-modal .feed-detail-close:hover {
    background: #e8f0f7;
}

.theabs-centered-feed-modal .feed-detail-counter,
.theabs-centered-feed-modal .feed-detail-meta {
    color: #245f8f;
}

.theabs-centered-feed-modal .feed-detail-media-area {
    background: #f0f4f8;
}

.theabs-centered-feed-modal .feed-detail-stage {
    background: #132b43;
}

.theabs-centered-feed-modal .feed-detail-info {
    background: #fff;
}

.theabs-centered-feed-modal .feed-detail-title {
    color: #172536;
    font-family: 'Playfair Display', Georgia, serif !important;
}

.theabs-centered-feed-modal .feed-detail-description {
    color: #66727e;
}

.theabs-centered-feed-modal .feed-detail-thumb.active {
    border-color: #245f8f;
}

.theabs-centered-feed-modal .feed-detail-navigation {
    border-top-color: #dce4eb;
}

.theabs-centered-feed-modal .feed-detail-nav-btn {
    border-radius: 999px !important;
}

.theabs-centered-feed-modal .feed-detail-nav-btn.btn-primary {
    background: #173b5f !important;
    border-color: #173b5f !important;
    color: #fff !important;
}

.theabs-centered-feed-modal .feed-detail-nav-btn.btn-outline-secondary {
    color: #173b5f !important;
    border-color: #dce4eb !important;
    background: #fff !important;
}

@media (max-width: 767.98px) {
    .theabs-centered-feed-modal {
        padding: 10px;
    }
    .theabs-centered-feed-modal .modal-dialog {
        width: 100%;
        max-width: none;
        margin: auto;
    }
}

/* Info & Publication: polished multi-media gallery using the existing .feed-gallery markup. */
#communityFeed .forum-feed-media-wrap .feed-gallery {
  overflow: hidden; border-radius: 12px; background: #edf2f6; gap: 3px;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button {
  position: relative; display: block; min-width: 0; min-height: 0; padding: 0;
  overflow: hidden; border: 0; border-radius: 0; background: #e8edf2; cursor: pointer;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button img,
#communityFeed .forum-feed-media-wrap .feed-gallery > button video {
  display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button:hover img,
#communityFeed .forum-feed-media-wrap .feed-gallery > button:hover video { transform: scale(1.035); }
#communityFeed .forum-feed-media-wrap .feed-gallery .feed-gallery-more {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1px; background: rgba(15,39,63,.68); color: #fff;
}
#communityFeed .forum-feed-open {
  border: 1px solid #173b5f !important; border-radius: 30px !important;
  background: #173b5f !important; color: #fff !important; font-weight: 700;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
#communityFeed .forum-feed-open:hover {
  background: #245f8f !important; border-color: #245f8f !important; color: #fff !important; transform: translateY(-1px);
}


/* Responsive Info & Publication feed — final canonical rules */
#communityFeed {
    min-width: 0;
    width: 100%;
}
#communityFeed > .col {
    min-width: 0;
    width: 100%;
}
#communityFeed .forum-feed-card {
    width: 100%;
    min-width: 0;
    border: 1px solid #dce4eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    overflow: hidden;
}
#communityFeed .forum-feed-layout {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}
#communityFeed .forum-feed-media-wrap {
    flex: 0 0 clamp(190px, 27%, 280px);
    width: clamp(190px, 27%, 280px);
    min-width: 0;
    align-self: stretch;
    overflow: hidden;
    background: #eef2f6;
}
#communityFeed .forum-feed-media-wrap .feed-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    height: 100%;
    min-height: 190px;
    max-height: 300px;
    overflow: hidden;
    border-radius: 0;
    background: #e8edf2;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #e8edf2;
    cursor: zoom-in;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button img,
#communityFeed .forum-feed-media-wrap .feed-gallery > button video {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    transition: transform .22s ease;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button:hover img,
#communityFeed .forum-feed-media-wrap .feed-gallery > button:hover video {
    transform: scale(1.035);
}
#communityFeed .forum-feed-media-wrap .feed-gallery .feed-gallery-more,
#communityFeed .feed-gallery-more {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px;
    color: #fff;
    background: rgba(15, 35, 56, .68);
    text-align: center;
    pointer-events: none;
}
#communityFeed .forum-feed-body {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    min-width: 0;
    padding: 16px 20px !important;
    background: #fff;
}
#communityFeed .forum-feed-meta {
    flex-wrap: wrap;
    min-width: 0;
}
#communityFeed .forum-feed-date {
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-align: right;
}
#communityFeed .forum-feed-title,
#communityFeed .forum-feed-description {
    min-width: 0;
    overflow-wrap: anywhere;
}
#communityFeed .forum-feed-footer {
    flex-wrap: wrap;
    min-width: 0;
    row-gap: 10px;
}
#communityFeed .forum-feed-open,
#communityFeed .publication-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    max-width: 100%;
    padding: 9px 17px !important;
    border: 1px solid #173b5f !important;
    border-radius: 999px !important;
    background: #173b5f !important;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 3px 9px rgba(23,59,95,.12);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
#communityFeed .forum-feed-open:hover,
#communityFeed .publication-comment-submit:hover {
    background: #245f8f !important;
    border-color: #245f8f !important;
    color: #fff !important;
    transform: translateY(-1px);
}
#communityFeed .publication-interactions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
}
#communityFeed .publication-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    max-width: 100%;
    padding: 7px 13px;
    border: 1px solid #d5e0e9;
    border-radius: 999px;
    background: #fff;
    color: #173b5f;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.25;
    white-space: normal;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}
#communityFeed .publication-action:hover,
#communityFeed .publication-action[aria-pressed="true"] {
    color: #fff;
    background: #173b5f;
    border-color: #173b5f;
}
#communityFeed .publication-action-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #edf2f7;
    color: #173b5f;
    font-size: .72rem;
    font-weight: 800;
}
#communityFeed .publication-action:hover .publication-action-count {
    background: rgba(255,255,255,.2);
    color: #fff;
}
#communityFeed .publication-comments-panel {
    width: 100%;
    min-width: 0;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #dce4eb;
    border-radius: 12px;
    background: #f8fafc;
}
#communityFeed .publication-comment-form,
#communityFeed .publication-comment-form-footer {
    min-width: 0;
}
#communityFeed .publication-comment-form textarea {
    display: block;
    width: 100%;
    min-height: 88px;
    padding: 11px 12px;
    border: 1px solid #ccd8e3;
    border-radius: 10px;
    background: #fff;
    color: #203246;
    resize: vertical;
}
#communityFeed .publication-comment-form textarea:focus {
    outline: 2px solid rgba(36,95,143,.18);
    border-color: #245f8f;
}
#communityFeed .publication-comment-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Tablets: give the gallery enough room without squeezing the text column. */
@media (min-width: 768px) and (max-width: 991.98px) {
    #communityFeed .forum-feed-media-wrap {
        flex-basis: 220px;
        width: 220px;
    }
    #communityFeed .forum-feed-body {
        padding: 14px 16px !important;
    }
}

/* Phones: stack gallery and content; keep a 2x2 gallery with no horizontal overflow. */
@media (max-width: 767.98px) {
    #communityFeed .forum-feed-layout {
        display: flex;
        flex-direction: column;
    }
    #communityFeed .forum-feed-media-wrap {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        max-height: none;
        border-right: 0;
    }
    #communityFeed .forum-feed-media-wrap .feed-gallery {
        width: 100%;
        height: clamp(180px, 58vw, 270px);
        min-height: 180px;
        max-height: 270px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }
    #communityFeed .forum-feed-body {
        flex: 1 1 auto;
        width: 100%;
        padding: 14px !important;
    }
    #communityFeed .forum-feed-meta {
        align-items: flex-start !important;
        gap: 6px 10px !important;
    }
    #communityFeed .forum-feed-date {
        max-width: 100%;
        text-align: left;
    }
    #communityFeed .forum-feed-footer {
        align-items: flex-start !important;
        justify-content: space-between;
    }
    #communityFeed .publication-interactions {
        gap: 7px;
    }
    #communityFeed .publication-action {
        flex: 0 1 auto;
        padding: 7px 11px;
    }
}
@media (max-width: 420px) {
    #communityFeed .forum-feed-body {
        padding: 12px !important;
    }
    #communityFeed .forum-feed-media-wrap .feed-gallery {
        height: 184px;
        min-height: 184px;
    }
    #communityFeed .forum-feed-footer {
        flex-direction: column;
        align-items: stretch !important;
    }
    #communityFeed .forum-feed-open {
        align-self: flex-start;
    }
    #communityFeed .publication-action {
        font-size: .8rem;
        gap: 5px;
    }
    #communityFeed .publication-comments-panel {
        padding: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #communityFeed .forum-feed-media-wrap .feed-gallery > button img,
    #communityFeed .forum-feed-media-wrap .feed-gallery > button video,
    #communityFeed .forum-feed-open,
    #communityFeed .publication-action {
        transition: none;
    }
}

/* Info & Publication viewer — match the Member Posts full-screen media viewer */
#communityFeedModal.theabs-centered-feed-modal{position:fixed!important;inset:0!important;z-index:2060!important;display:none;align-items:stretch!important;justify-content:center!important;width:100%!important;height:100%!important;padding:0!important;overflow:hidden!important;background:rgba(0,0,0,.98)!important}
#communityFeedModal.theabs-centered-feed-modal.show{display:flex!important}
#communityFeedModal .modal-dialog{display:flex!important;align-items:stretch!important;width:100%!important;max-width:none!important;height:100%!important;max-height:100dvh!important;margin:0!important;padding:0!important}
#communityFeedModal .feed-detail-shell{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;max-height:100dvh!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#050505!important;color:#fff!important;box-shadow:none!important}
#communityFeedModal .feed-detail-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 22px;border:0;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.94);color:#fff}
#communityFeedModal .feed-detail-header button,#communityFeedModal .feed-detail-navigation button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 15px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:.85rem;font-weight:700;line-height:1.2;cursor:pointer;transition:background .18s,border-color .18s}
#communityFeedModal .feed-detail-header button:hover,#communityFeedModal .feed-detail-navigation button:hover{border-color:#fff;background:#173b5f;color:#fff}
#communityFeedModal .feed-detail-close{width:40px;min-width:40px;padding:0!important;font-size:23px}
#communityFeedModal .feed-detail-counter{color:rgba(255,255,255,.72);font-size:.82rem;font-weight:700;font-variant-numeric:tabular-nums}
#communityFeedModal .feed-detail-media-area{flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:36px 76px 18px;overflow:hidden;background:#050505}
#communityFeedModal .feed-detail-main-media{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0}
#communityFeedModal .feed-detail-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;background:#050505}
#communityFeedModal .feed-detail-stage img,#communityFeedModal .feed-detail-stage video,#communityFeedModal .feed-detail-stage iframe{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border:0;border-radius:0;background:#050505}
#communityFeedModal .feed-detail-media-counter{position:absolute;right:12px;bottom:12px;padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:.78rem}
#communityFeedModal .feed-detail-info{flex:0 0 auto;max-height:32dvh;overflow:auto;padding:14px 24px 18px;border-top:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.96);color:#fff}
#communityFeedModal .feed-detail-meta{margin-bottom:5px;color:rgba(255,255,255,.62);font-size:.76rem}
#communityFeedModal .feed-detail-title{margin:0 0 6px;color:#fff;font-size:1rem;font-weight:700;line-height:1.35}
#communityFeedModal .feed-detail-description{margin:0;color:rgba(255,255,255,.74);font-size:.84rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
#communityFeedModal .feed-detail-thumbs{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;margin-top:13px;padding:2px 1px 5px}
#communityFeedModal .feed-detail-thumb{position:relative;flex:0 0 58px;width:58px;height:58px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:6px;background:#1b1b1b;cursor:pointer}
#communityFeedModal .feed-detail-thumb.active{border-color:#fff;box-shadow:0 0 0 1px #173b5f}
#communityFeedModal .feed-detail-thumb img,#communityFeedModal .feed-detail-thumb video{display:block;width:100%;height:100%;object-fit:cover}
#communityFeedModal .feed-detail-thumb-number{position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:3px;background:rgba(0,0,0,.72);color:#fff;font-size:10px}
#communityFeedModal .feed-detail-navigation{display:flex;justify-content:space-between;gap:8px;margin-top:10px}
#communityFeedModal .feed-detail-navigation button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:767.98px){#communityFeedModal .feed-detail-header{min-height:56px;padding:9px 12px}#communityFeedModal .feed-detail-media-area{padding:28px 46px 12px}#communityFeedModal .feed-detail-info{max-height:38dvh;padding:12px 14px}#communityFeedModal .feed-detail-thumb{flex-basis:50px;width:50px;height:50px}#communityFeedModal .feed-detail-navigation button{min-height:36px;padding:7px 11px}}
@media(max-width:380px){#communityFeedModal .feed-detail-media-area{padding-right:38px;padding-left:38px}#communityFeedModal .feed-detail-header{gap:6px}#communityFeedModal .feed-detail-back{padding:7px 9px!important;font-size:.75rem!important}}

/* Match Info & Publication feed cards to the Member Posts media-left layout. */
#communityFeed .forum-feed-card { width:100%; min-width:0; border-radius:14px!important; background:#fff; }
#communityFeed .forum-feed-layout { display:grid!important; grid-template-columns:minmax(190px,25%) minmax(0,1fr)!important; align-items:stretch!important; gap:0!important; width:100%; min-width:0; margin:0; overflow:hidden; }
#communityFeed .forum-feed-card.is-text-only .forum-feed-layout { grid-template-columns:minmax(0,1fr)!important; }
#communityFeed .forum-feed-media-wrap { display:flex; align-items:stretch; justify-content:stretch; width:100%; min-width:0; min-height:100%; margin:0; padding:0; overflow:hidden; border:0; border-right:1px solid #dce4eb; background:#f0f3f6; }
#communityFeed .forum-feed-media-wrap .feed-gallery { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; grid-template-rows:repeat(2,minmax(0,1fr))!important; gap:3px!important; align-content:stretch; width:100%; height:100%; min-height:190px; max-height:250px; margin:0; padding:0; overflow:hidden; background:#e8edf2; box-sizing:border-box; }
#communityFeed .forum-feed-media-wrap .feed-gallery>button { position:relative; display:block; width:100%; height:100%; min-width:0; min-height:0; margin:0; padding:0; overflow:hidden; border:0; border-radius:0; background:#e8edf2; cursor:zoom-in; }
#communityFeed .forum-feed-media-wrap .feed-gallery>button img,
#communityFeed .forum-feed-media-wrap .feed-gallery>button video { display:block; width:100%; height:100%; min-width:0; min-height:0; max-width:none; max-height:none; object-fit:cover; object-position:center; margin:0; padding:0; border:0; border-radius:0; transition:transform .2s ease; }
#communityFeed .forum-feed-media-wrap .feed-gallery>button:hover img,
#communityFeed .forum-feed-media-wrap .feed-gallery>button:hover video { transform:scale(1.035); }
#communityFeed .forum-feed-media-wrap .feed-gallery-more { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; background:rgba(5,20,35,.66); color:#fff; text-align:center; }
#communityFeed .forum-feed-media-wrap .feed-gallery-more strong { font-size:clamp(1.25rem,2.2vw,2rem); line-height:1.1; }
#communityFeed .forum-feed-media-wrap .feed-gallery-more small { font-size:.68rem; letter-spacing:.08em; }
#communityFeed .forum-feed-body { display:flex!important; flex-direction:column!important; align-items:stretch!important; min-width:0; width:100%; padding:17px 20px!important; box-sizing:border-box; }
#communityFeed .forum-feed-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; width:100%; min-width:0; margin:0 0 10px; }
#communityFeed .forum-feed-date { white-space:normal!important; overflow-wrap:anywhere; }
#communityFeed .forum-feed-title,#communityFeed .forum-feed-description { max-width:100%; overflow-wrap:anywhere; }
#communityFeed .forum-feed-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; min-width:0; }
#communityFeed .forum-feed-open { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:9px 15px; border:1px solid #173b5f!important; border-radius:30px!important; background:#173b5f!important; color:#fff!important; font-size:.82rem; font-weight:700; line-height:1.2; text-decoration:none; white-space:nowrap; }
#communityFeed .forum-feed-open:hover { border-color:#245f8f!important; background:#245f8f!important; color:#fff!important; }
#communityFeed .publication-interactions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:12px 0 0; padding:12px 0 0; border-top:1px solid #e8edf1; }
#communityFeed .publication-action { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:8px 14px; border:1px solid #d5e0e8; border-radius:30px; background:#fff; color:#173b5f; font-weight:700; cursor:pointer; }
#communityFeed .publication-action:hover { border-color:#9bb2c4; background:#edf4f8; }
#communityFeed .publication-action.is-active,#communityFeed .publication-action[aria-pressed="true"] { border-color:#173b5f; background:#173b5f; color:#fff; }
@media (min-width:768px) and (max-width:991.98px) {
  #communityFeed .forum-feed-layout { grid-template-columns:minmax(200px,30%) minmax(0,1fr)!important; }
  #communityFeed .forum-feed-body { padding:14px 16px!important; }
}
@media (max-width:767.98px) {
  #communityFeed .forum-feed-layout { display:flex!important; flex-direction:column!important; }
  #communityFeed .forum-feed-media-wrap { width:100%; height:auto; min-height:0; max-height:none; border-right:0; border-bottom:1px solid #dce4eb; }
  #communityFeed .forum-feed-media-wrap .feed-gallery { width:100%; height:clamp(180px,58vw,270px); min-height:180px; max-height:270px; grid-template-columns:repeat(2,minmax(0,1fr))!important; grid-template-rows:repeat(2,minmax(0,1fr))!important; }
  #communityFeed .forum-feed-body { width:100%; padding:14px!important; }
  #communityFeed .forum-feed-meta { align-items:flex-start!important; gap:6px 10px!important; }
  #communityFeed .forum-feed-footer { align-items:flex-start!important; }
  #communityFeed .publication-interactions { gap:7px; }
}
@media (max-width:420px) {
  #communityFeed .forum-feed-media-wrap .feed-gallery { height:184px; min-height:184px; }
  #communityFeed .forum-feed-body { padding:12px!important; }
  #communityFeed .forum-feed-footer { flex-direction:row; justify-content:space-between; }
  #communityFeed .forum-feed-open { margin-left:auto; }
  #communityFeed .publication-action { gap:5px; padding:7px 10px; font-size:.8rem; }
}

/* Info & Publication: fix the media-wrap sizing itself; let the grid column control width. */
#communityFeed .forum-feed-media-wrap {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  align-self: start;
  overflow: hidden;
  box-sizing: border-box;
  border-right: 1px solid #dce4eb;
  border-bottom: 0;
  background: #e8edf2;
}
#communityFeed .forum-feed-media-wrap .feed-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 3px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #e8edf2;
  box-sizing: border-box;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0b1420;
  cursor: zoom-in;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button img,
#communityFeed .forum-feed-media-wrap .feed-gallery > button video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .2s ease;
}
#communityFeed .forum-feed-media-wrap .feed-gallery > button:hover img,
#communityFeed .forum-feed-media-wrap .feed-gallery > button:hover video { transform: scale(1.035); }
#communityFeed .forum-feed-media-wrap .feed-gallery .feed-gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 8px;
  background: rgba(5, 20, 35, .58);
  color: #fff;
  text-align: center;
  pointer-events: none;
}
#communityFeed .forum-feed-media-wrap .feed-gallery .feed-gallery-more strong {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}
#communityFeed .forum-feed-media-wrap .feed-gallery .feed-gallery-more small { display: none !important; }
@media (max-width: 767.98px) {
  #communityFeed .forum-feed-layout { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; }
  #communityFeed .forum-feed-media-wrap {
    width: 100% !important;
    height: clamp(190px, 62vw, 250px) !important;
    min-height: 0 !important;
    max-height: 250px !important;
    aspect-ratio: auto !important;
    border-right: 0;
    border-bottom: 1px solid #dce4eb;
  }
  #communityFeed .forum-feed-media-wrap .feed-gallery {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}
@media (max-width: 420px) {
  #communityFeed .forum-feed-media-wrap { height: 184px !important; }
}

#communityFeed .forum-feed-type {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;

    background: linear-gradient(
        135deg,
        rgba(201, 164, 92, 0.14),
        rgba(201, 164, 92, 0.06)
    );

    color: #d8bb7a !important;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: background 0.25s ease, border-color 0.25s ease;
}

#communityFeed .forum-feed-type:hover {
    background: rgba(201, 164, 92, 0.18);
    border-color: rgba(201, 164, 92, 0.6);
}

.member-publications-section #memberCommunityFeed .member-post-card .member-post-media-grid .member-post-media-tile .feed-gallery-more {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 2px;
    margin: 0;
    padding: 8px;
    background: rgba(5, 20, 35, .68) !important;
    color: #fff !important;
    text-align: center;
    pointer-events: none;
}

.member-publications-section #memberCommunityFeed .member-post-card .member-post-media-grid .member-post-media-tile .feed-gallery-more strong {
    display: block;
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
}

/* Match Info & Publication media navigation controls to Member Posts. */
#communityFeedModal .feed-detail-stage { position:relative; }
#communityFeedModal .member-post-viewer-nav {
    position:absolute; top:50%; z-index:3; display:grid; place-items:center;
    transform:translateY(-50%); width:46px; height:46px; padding:0;
    border:1px solid rgba(255,255,255,.28); border-radius:50%;
    background:rgba(30,30,30,.8); color:#fff; font-size:30px; line-height:1; cursor:pointer;
    transition:background .18s,border-color .18s;
}
#communityFeedModal .member-post-viewer-nav:hover { background:#173b5f; border-color:#fff; }
#communityFeedModal .member-post-viewer-nav:disabled { opacity:.35; cursor:not-allowed; }
#communityFeedModal .member-post-viewer-nav.prev { left:20px; }
#communityFeedModal .member-post-viewer-nav.next { right:20px; }
#communityFeedModal .feed-detail-media-navigation { display:flex; justify-content:space-between; gap:8px; margin-top:10px; }
#communityFeedModal .feed-detail-media-navigation button {
    display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px;
    padding:8px 15px; border:1px solid rgba(255,255,255,.28); border-radius:999px;
    background:rgba(255,255,255,.08); color:#fff; font-size:.85rem; font-weight:700;
    line-height:1.2; cursor:pointer; transition:background .18s,border-color .18s;
}
#communityFeedModal .feed-detail-media-navigation button:hover { border-color:#fff; background:rgba(255,255,255,.17); color:#fff; }
#communityFeedModal .feed-detail-media-navigation button:disabled { opacity:.35; cursor:not-allowed; }
@media(max-width:767.98px) {
    #communityFeedModal .member-post-viewer-nav { width:38px; height:38px; font-size:25px; }
    #communityFeedModal .member-post-viewer-nav.prev { left:7px; }
    #communityFeedModal .member-post-viewer-nav.next { right:7px; }
    #communityFeedModal .feed-detail-media-navigation button { min-height:36px; padding:7px 11px; }
}
