/* =============================================
   Hebron: compact Easy Social Feed display
   Loaded only when "Tidy Easy Social Feed display" is ticked
   on Sermon Library > Settings and Easy Social Feed is active.
   ============================================= */

/* Remove blank lines added by WordPress auto-paragraphing */
.efbl_feeds_holder br,
.efbl_feeds_holder p:empty { display: none !important; }
.efbl_feeds_holder p { margin: 0 !important; }

/* Post card */
.efbl_feeds_holder .efbl-story-wrapper {
    padding: 0 !important;
    margin: 0 0 14px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px;
    box-shadow: none !important;
    overflow: hidden;
}
.efbl_feeds_holder .efbl-row { margin: 0 !important; }
.efbl_feeds_holder .efbl-col-12 { padding: 0 !important; }
.efbl_feeds_holder .efbl-thumbnail-col img { display: block; width: 100%; height: auto; margin: 0 !important; }

/* Reduce leftover blank line under the image */
.efbl_feeds_holder .efbl-thumbnail-col,
.efbl_feeds_holder .efbl-thumbnail-wrapper > .efbl-row > a { font-size: 0; line-height: 0; }
.efbl_feeds_holder .efbl-overlay .icon { font-size: 24px; line-height: 1; }
.efbl_feeds_holder .efbl-thumbnail-wrapper,
.efbl_feeds_holder .efbl-profile-title { margin: 0 !important; padding: 0 !important; }

/* Hide repeated account name + profile picture, keep the date */
.efbl_feeds_holder .efbl-profile-image,
.efbl_feeds_holder .efbl-profile-title-wrap { display: none !important; }
.efbl_feeds_holder .efbl-feed-content { padding: 8px 10px 0 !important; }
.efbl_feeds_holder .efbl-feed-content > .efbl-d-flex { margin: 0 0 4px !important; }
.efbl_feeds_holder .efbl-profile-title span { font-size: 0.75rem; color: #888; font-style: normal; }

/* Post text and link previews */
.efbl_feeds_holder .description { font-size: 0.875rem; line-height: 1.45; }
.efbl_feeds_holder .efbl_link_text {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}
.efbl_feeds_holder .efbl_link_text a { color: inherit !important; text-decoration: underline; }
.efbl_feeds_holder .efbl_link_description { display: none !important; }

/* Footer: just a small "View on Facebook" link */
.efbl_feeds_holder .efbl-post-footer { padding: 6px 10px 8px !important; margin: 0 !important; border-top: none !important; }
.efbl_feeds_holder .efbl-reacted { display: none !important; }
.efbl_feeds_holder .efbl-view-on-fb {
    background: none !important;
    padding: 0 !important;
    font-size: 0.8rem;
    color: inherit !important;
    text-decoration: underline;
}

/* Remove Share everywhere, including the image popup */
.esf-share-wrapper,
.esf-share,
.esf-social-share { display: none !important; }
