/* Premium visual treatment for the news sharing actions. */
.post-share-buttons .share-flex-wrapper {
    border-top: 1px solid var(--vr-gray-150);
    border-bottom: 1px solid var(--vr-gray-150);
    padding: 1rem 0 !important;
}

.post-share-buttons .share-flex-wrapper .left,
.post-share-buttons .share-flex-wrapper .right {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem !important;
}

.post-share-buttons .btn-social-share {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    box-shadow: 0 7px 16px rgba(15, 23, 42, .14), inset 0 1px 0 rgba(255, 255, 255, .2);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.post-share-buttons .btn-social-share::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, .2), transparent 48%, rgba(0, 0, 0, .14));
    pointer-events: none;
}

.post-share-buttons .btn-social-share svg {
    position: relative;
    z-index: 1;
    width: 19px;
    height: 19px;
}

.post-share-buttons .btn-social-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .22), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
    filter: saturate(1.08) brightness(1.04);
    opacity: 1;
}

.post-share-buttons .btn-social-share:active {
    transform: translateY(-1px) scale(.97);
}

.post-share-buttons .btn-social-share:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 159, 145, .28), 0 8px 18px rgba(15, 23, 42, .18) !important;
}

.post-share-buttons .btn-action-icon {
    background-color: #596273 !important;
    background-image: linear-gradient(145deg, #687285, #3e4655) !important;
}

.post-share-buttons .btn-action-icon:hover {
    background-color: #4b5565 !important;
    background-image: linear-gradient(145deg, #737e91, #4b5565) !important;
}

.post-share-buttons .btn-reading-list.active {
    background-color: #16a875 !important;
    background-image: linear-gradient(145deg, #31c58f, #087d61) !important;
}

.post-share-buttons .btn-reading-list.active:hover {
    background-color: #118c63 !important;
    background-image: linear-gradient(145deg, #43d49d, #0a7258) !important;
}

@media (max-width: 576px) {
    .post-share-buttons .share-flex-wrapper {
        justify-content: space-between !important;
        gap: .5rem !important;
    }

    .post-share-buttons .share-flex-wrapper .left,
    .post-share-buttons .share-flex-wrapper .right {
        gap: .5rem !important;
    }

    .post-share-buttons .btn-social-share {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .post-share-buttons .btn-social-share svg {
        width: 17px;
        height: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .post-share-buttons .btn-social-share {
        transition: none;
    }
}
