.hashtagged-posts-container {
    --hashtag-posts-gap: 16px;
    --hashtag-posts-margin-x: 32px;
    --hashtag-posts-image-size: calc(100vw - (var(--hashtag-posts-margin-x) + var(--hashtag-posts-gap)) * 2);

    margin: 0 calc(-1 * var(--_container-margin-right)) 0 calc(-1 * var(--_container-margin-left)) !important;
    padding: 16px 0 0;
    width: 100vw;
    background-color: rgb(255, 251, 242);

    @media screen and (min-width: 600px) {
        --hashtag-posts-image-size: calc(400px - (var(--hashtag-posts-margin-x) + var(--hashtag-posts-gap)) * 2);
    }

    @media screen and (min-width: 1177px) {
        margin: 0 !important;
        width: 100%;
    }

    header {
        margin-bottom: 16px;

        h3 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0;
            padding: 0;
            border: none;
            font-size: 16px;
            color: rgb(250, 162, 181);
            font-weight: bold;

            &:before,
            &:after {
                content: '';
                display: inline-block;
                width: 48px;
                height: 48px;
                background-image: url('../images/paws.png');
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
            }

            &:before {
                margin-left: 16px;
            }

            &:after {
                margin-right: 16px;
            }
        }

        p {
            padding: 0 16px;
            text-align: center;
            letter-spacing: 0;
        }
    }

    ul.hashtagged-posts {
        display: flex;
        gap: var(--hashtag-posts-gap);
        margin: 0;
        padding: 0 16px 16px;
        overflow: auto;
        list-style: none;

        @media screen and (max-width: 599px) {
            &::-webkit-scrollbar {
                display: none;
            }
        }

        .hashtagged-post {
            flex-shrink: 0;
            width: var(--hashtag-posts-image-size);
            border: 2px solid #f9d949;
            background-color: #fff;

            a {
                color: #333;
                text-decoration: none;

                img {
                    width: var(--hashtag-posts-image-size);
                    height: var(--hashtag-posts-image-size);
                    object-fit: cover;
                }

                p {
                    margin: 8px;
                    font-size: 14px;
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 3;
                }
            }
        }
    }
}

.member-banner {
    display: block;
    position: fixed;
    bottom: 80px;
    right: 6px;
    width: 50%;
    max-width: 300px;
    z-index: 999;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    @media screen and (min-width: 640px) {
        bottom: 90px;
        right: 6px;
    }

    @media screen and (min-width: 1024px) {
        bottom: 60px;
        right: 10px;
    }

    a {
        display: block;

        img {
            display: block;
            height: auto;
        }
    }

    button {
        all: unset;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 22px;
        height: 22px;
        background-color: #fff;
        border-width: 0 1px 1px 0;
        border-style: solid;
        border-color: #ccc;
        cursor: pointer;
        opacity: 0.9;
    }
}


