
/* =========================================================
   InstaRumors — Sticky Post Sharing Rail
   ========================================================= */
.post-share-rail {
    position: fixed;
    left: max(14px, calc((95vw - 1280px) / 2 - 58px));
    top: 60%;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(-50%);
}

.post-share-label {
    margin-bottom: 2px;
    color: #6f7780;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.post-share-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(20, 27, 35, .12);
    border-radius: 50%;
    background: #fff;
    color: #20252b;
    box-shadow: 0 5px 18px rgba(20, 27, 35, .10);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.post-share-button:hover,
.post-share-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 27, 35, .16);
}

.post-share-button.facebook { color: #1877f2; }
.post-share-button.twitter { color: #111; }
.post-share-button.instagram { color: #c13584; }
.post-share-button.linkedin { color: #0a66c2; }
.post-share-button.whatsapp { color: #128c7e; }

.post-share-button.is-copied::after {
    content: "Copied";
    position: absolute;
    left: 50px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #20252b;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
}

@media (max-width: 1380px) {
    .post-share-rail {
        left: 8px;
    }
}

@media (max-width: 900px) {
    .post-share-rail {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        top: auto;
        z-index: 1000;
        flex-direction: row;
        justify-content: center;
        width: max-content;
        max-width: calc(100vw - 24px);
        margin: 0 auto;
        padding: 7px 9px;
        border: 1px solid rgba(20, 27, 35, .10);
        border-radius: 28px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 8px 30px rgba(20, 27, 35, .18);
        transform: none;
        backdrop-filter: blur(8px);
    }

    .post-share-label {
        display: none;
    }

    .post-share-button {
        width: 38px;
        height: 38px;
        box-shadow: none;
    }

    .post-share-button.is-copied::after {
        left: 50%;
        bottom: 48px;
        transform: translateX(-50%);
    }
}
