
/* Evolving Poet: shared icon-only post actions */

.post-actions [data-blog-comments-open],
.post-actions .share-button,
.post-actions .bookmark-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 36px;
    min-height: 36px;
    padding: 6px !important;
    border: 0 !important;
    background-color: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
    vertical-align: middle;
    cursor: pointer;
}

.post-actions [data-blog-comments-open] svg {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.post-actions .ep-blog-comment-count {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.post-actions .share-button,
.post-actions .bookmark-button {
    font-size: 0 !important;
    line-height: 0 !important;
}

.post-actions .share-button::before,
.post-actions .bookmark-button::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
    background-color: currentColor !important;
    background-size: contain;
    background-repeat: no-repeat;
}

.post-actions .share-button::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.7 13.5 6.6 4m0-11-6.6 4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.7 13.5 6.6 4m0-11-6.6 4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.post-actions .bookmark-button::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.post-actions .bookmark-button:not([aria-label]) {
    position: relative;
}

/* Verse of the Day: preserve existing SVG button styling */
.ep-daily-share svg {
    width: 24px;
    height: 24px;
}

/* Keep the share popover hidden until opened */
.post-actions .share-popover[hidden] {
    display: none !important;
}

/* Blog bookmark: solid white when saved */
.post-actions .bookmark-button.ep-bookmark-saved::before {
    -webkit-mask: none !important;
    mask: none !important;
    background-color: white !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3z' fill='white'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* BLOG BOOKMARK — solid white when saved */
.post-actions .bookmark-button.ep-bookmark-saved::before {
    -webkit-mask: none !important;
    mask: none !important;
    background: white !important;
    clip-path: polygon(
        25% 12.5%,
        75% 12.5%,
        75% 87.5%,
        50% 70.8%,
        25% 87.5%
    ) !important;
}
