from bs4 import BeautifulSoup


def find_job_post_summary_indeed(card: BeautifulSoup) -> str:
    """
    Scrapes the summary of the job from an individual job card.

    Args:
        card (BeautifulSoup object): A BS4 object consisting of the section of the HTML doc result for a
                                    single job posting (card taken from html div classname).

    Returns:
         str: Summary scraped from job card if found, otherwise empty string.
    """
    summary_text = card.find('div', class_='summary')
    if summary_text:
        return summary_text.text.replace('\n', '').replace('.', '. ').strip()

    return ""