    /*
.masonry {
    column-count: 3;
    column-gap: 1em;
    display: grid;
     grid-template-columns: repeat(4, 1fr);
    grid-template-rows: masonry;
    align-tracks: stretch;
}
*/
    .masonry {
        /* Masonry container */

        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 16px;
        /* No space between columns */

    }

    .masonry-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 16px;
    }

    .free-wall {
        width: 100%;
    }

    .free-wall .item {
        width: 32%;
        background-color: transparent;
        float: left;


    }

    /*
.item {  
    break-inside: avoid;
    margin-bottom: 1em;
    transition: ease-in-out 50ms;
    position: relative;
    
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
*/

    .free-wall .item img.main {
        /*
    width: 100%;
    display: block;
    border-radius: 8px;
    */
        height: auto;
        max-width: 100%;
        border-radius: 8px;
    }

    .free-wall .item .img-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        height: auto;
        width: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        opacity: 0;
        transition: opacity 0.50s;
        cursor: pointer;
        border-radius: 8px;
    }

    .link-overlay {
        height: 100%;
        width: 100%;
    }

    .free-wall .item .img-overlay .content {
        padding: .5rem 1rem;
        width: 100%;

    }


    .item:hover .img-overlay {
        opacity: 1;
    }

    .apod-btn {
        font-size: 18px;
    }

    h2 span {
        font-size: 18px;
        font-weight: normal;
        font-style: italic;
        color: #1b74e4;
    }

    .bg-image {
        position: fixed;
        bottom: 20px;
        right: 20px;
    }

    .bg-image img {
        width: 550px;
    }

    .ubder-stellar {
        margin-top: 200px;
    }

    .head-title {
        font-size: 25px;
    }

    .head-body {
        font-size: 22px;
    }

    .item .author-name {
        color: #fff;
    }

    .item .like {
        color: #fff;
    }

    .item .unlike {
        color: rgb(219, 56, 56);
    }

    .item .img-overlay .btn-link i {
        color: #fff;
    }

    /* modal details */
    #photo-container {
        word-break: break-word;
        max-width: 100%;
        position: sticky;
        height: 100%;
        display: flex;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: start;
        justify-content: start;
        flex: 1 1 calc(100% - 348px);
        z-index: 1;

        padding: 0px 24px 0px 0px;
        top: 0px;
    }

    #photo-container img {
        width: auto;
        max-width: 100%;
        max-height: calc(-84px + 100vh);
        display: block;
        height: auto !important;
    }

    .details-container .section {
        margin-bottom: 20px;
    }

    .photo-tool-box {

        width: 100%;
        padding: 24px 22px;
        border-radius: 8px;
        border: 1px solid #d1d1d1;
        margin-bottom: 25px;
        gap: 40px;
        background-color: rgb(255, 255, 255);
        box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 6px;
    }

    .photo-tool-box .more-options {
        padding: 0px;
    }

    .photo-tool-box .like {
        /*color: #000;*/
    }

    .photo-tool-box .unlike {
        color: rgb(219, 56, 56);
    }

    .photo-tool-box .post-content {
        white-space: pre-line;
        margin-top: -10px;
    }

    .photo-tool-box .action-info {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .photo-tool-box .like-count,
    .photo-tool-box .comment-count,
    .photo-tool-box .like-count-caption,
    .photo-tool-box .comment-count-caption {
        color: #000;
        font-size: 14px;
    }

    .photo-tool-box .action-info-caption {
        margin-right: 5px;
        border: 1px solid #dddddd;
        padding: 3px 5px;
        border-radius: 3px;

    }

    .action-info-caption-shutter-speed {
        display: flex;
        flex-direction: row;
    }

    .photo-tool-box .actions-line {
        display: flex;
        align-items: center;
        justify-content: start;
    }

    .photo-tool-box .action-info {
        display: flex;
        align-items: center;
        margin-right: 25px;
    }

    .photo-tool-box .action-info i {
        margin-right: 8px;
    }

    #photoDetailsModal .modal-header {
        border-bottom: none;
    }

    .dropify-wrapper {
        width: 50%;
        height: 300px;
        margin: 0px auto;

    }

    /* modal details */
    @media only screen and (max-width: 767px) {
        .bg-image img {
            width: 200px;
        }

        .ubder-stellar {
            margin-top: 50px;
        }

        .head-title {
            font-size: 20px;
        }

        .head-body {
            font-size: 18px;
        }

        .free-wall .item {
            width: 100%;
            background-color: transparent;
            float: none;


        }

        .item .img-overlay {

            opacity: 1 !important;


        }

        .photo-tool-box-mobile {


            padding: 10px 20px;


        }

        #photo-container {
            margin-bottom: 25px;
            padding: 0px 0px 0px 0px;
        }

        #photo-container img {
            width: 100%;
        }

        .dropify-wrapper {
            width: 100%;
            height: auto;

        }

        .apod-btn {
            font-size: 15px;
        }

        /*
.masonry {
    column-count: 1;
    column-gap: 1em;
}
*/
        .masonry {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
        }

        .masonry-grid {
            grid-template-columns: 1fr;
            grid-gap: 0;
            /* Adjust gap if needed */
        }



    }