/* Mobile keeps the theme's own heading size. */
.jobfeed__heading {
    margin: 0 0 1rem;
}

/* Desktop: larger heading, set off by space above and a rule below. */
@media (min-width: 601px) {
    .jobfeed__heading {
        font-size: 48px;
        line-height: 1.2;
        margin-top: 40px;
        padding-bottom: 12px;
        border-bottom: 2px solid currentColor;
    }
}

.jobfeed__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jobfeed__item + .jobfeed__item {
    border-top: 1px solid #e5e5e5;
}

.jobfeed__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    text-decoration: none;
    color: inherit;
}

.jobfeed__link:hover .jobfeed__title,
.jobfeed__link:focus .jobfeed__title {
    text-decoration: underline;
}

.jobfeed__logo {
    flex: 0 0 auto;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jobfeed__logo img {
    max-width: 100%;
    height: auto;
}

.jobfeed__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.jobfeed__title {
    font-weight: 700;
}

.jobfeed__company {
    font-size: 0.9375em;
}

.jobfeed__location {
    font-size: 0.875em;
    opacity: 0.75;
}

@media (max-width: 600px) {
    .jobfeed__link {
        flex-direction: column;
        align-items: flex-start;
    }

    .jobfeed__logo {
        width: auto;
        justify-content: flex-start;
    }
}