/* NOFCC Breadcrumb Pills
================================ */
.nofcc-breadcrumb-pills {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(46px, 5vw, 56px);
    margin: 0;
}

#stories-from-families {
    scroll-margin-top: clamp(18px, 3vw, 32px);
}

.nofcc-breadcrumb-pills--inline {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0 0 clamp(20px, 3vw, 30px);
}

.nofcc-breadcrumb-pills + :is(.section, .nofcc-section-background, .wp-block-group.section) {
    padding-top: clamp(34px, 4.5vw, 56px);
}

.nofcc-breadcrumb-pills__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: min(100% - (var(--gutter) * 2), var(--container-wide));
    max-width: var(--container-wide);
    margin-inline: auto;
    gap: 6px;
}

.nofcc-breadcrumb-pills--inline .nofcc-breadcrumb-pills__inner {
    width: 100%;
    max-width: none;
}

.nofcc-breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 0.3rem 0.62rem;
    color: var(--color-charcoal);
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(15, 31, 49, 0.11);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 31, 49, 0.035);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    backdrop-filter: blur(4px);
}

.nofcc-breadcrumb-pill--link {
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.nofcc-breadcrumb-pill--link:hover,
.nofcc-breadcrumb-pill--link:focus-visible {
    color: var(--color-red);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(239, 35, 60, 0.26);
    transform: translateY(-1px);
    text-decoration: none;
}

.nofcc-breadcrumb-pill--current {
    color: var(--color-charcoal);
    background: rgba(15, 31, 49, 0.055);
    border-color: rgba(15, 31, 49, 0.12);
}

@media (max-width: 700px) {
    .nofcc-breadcrumb-pills {
        min-height: 48px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .nofcc-breadcrumb-pills--inline {
        width: 100%;
        min-height: auto;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .nofcc-breadcrumb-pills__inner {
        width: min(100% - 32px, var(--container-wide));
    }

    .nofcc-breadcrumb-pills--inline .nofcc-breadcrumb-pills__inner {
        width: 100%;
    }

    .nofcc-breadcrumb-pills + :is(.section, .nofcc-section-background, .wp-block-group.section) {
        padding-top: clamp(34px, 8vw, 48px);
    }

    .nofcc-breadcrumb-pill {
        min-height: 30px;
        padding: 0.32rem 0.58rem;
        font-size: 0.76rem;
    }
}
