/* Homepage block: featured marketplace items, jobs and grants */

.np-featured__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 8px;
}
.np-featured__subhead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--united-heading-color, #0B0B0F);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.np-featured__subhead a {
    font-family: var(--united-body-font-family);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--united-accent-ink-color, #b3153f);
    text-decoration: none;
}
.np-featured__subhead a:hover {
    text-decoration: underline;
}
.np-featured__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.np-featured__list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--united-border-color, #E6E6E6);
}
.np-featured__list li:last-child {
    border-bottom: 0;
}

/* Marketplace item: small photo beside price and title */
.np-featured-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: inherit;
    text-decoration: none;
}
.np-featured-item__photo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: var(--united-radius-sm, 10px);
    overflow: hidden;
    background: var(--united-alt-color, #F3F3F3);
}
.np-featured-item__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.np-featured-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.np-featured-item__price {
    font-family: var(--united-heading-font-family);
    font-weight: 700;
    color: var(--united-heading-color, #0B0B0F);
}
.np-featured-item__title {
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--united-text-color, #1A1A1F);
}
.np-featured-item__meta {
    font-size: 0.8125rem;
    color: var(--united-muted-color, #6B6B6B);
}
a.np-featured-item:hover .np-featured-item__title {
    text-decoration: underline;
}

/* Job or grant: text row */
.np-featured-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    color: inherit;
    text-decoration: none;
}
.np-featured-row__title {
    font-family: var(--united-heading-font-family);
    font-weight: 700;
    line-height: 1.3;
    color: var(--united-heading-color, #0B0B0F);
}
.np-featured-row__org {
    font-size: 0.9375rem;
    color: var(--united-text-color, #1A1A1F);
}
.np-featured-row__meta {
    font-size: 0.8125rem;
    color: var(--united-muted-color, #6B6B6B);
}
a.np-featured-row:hover .np-featured-row__title {
    text-decoration: underline;
}
