/* One responsive layout for the post and page share component. */
.sticky-share-bar.gm-share-bar {
    display: flex;
    left: max(10px, calc((100vw - 1200px) / 2 - 90px));
}

.sticky-share-bar.gm-share-bar p {
    margin: 0;
}

@media (max-width: 992px) {
    body:has(.gm-share-bar) {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    .sticky-share-bar.gm-share-bar,
    .sticky-share-bar.gm-share-bar:hover {
        position: fixed !important;
        top: auto !important;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .sticky-share-bar.gm-share-bar .share-icon {
        width: 40px;
        height: 40px;
        margin: 0;
        font-size: 20px;
        flex-shrink: 0;
    }
}
