.wp-block-nblocks-eyebrow {
    font-family: var(--wp--preset--font-family--monospace);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}

/* Centre/right alignment shrink-wraps so the auto margins can position it; the
   default (left) eyebrow has no width cap. */
.wp-block-nblocks-eyebrow.has-text-align-center {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-nblocks-eyebrow.has-text-align-right {
    width: fit-content;
    margin-left: auto;
}

:where(.wp-block-nblocks-eyebrow) {
    color: var(--wp--preset--color--white);
}

/* The .bar span is now rendered as a pulsing dot. The class name is kept so
   every stored eyebrow (and its has-*-background-color colour class) upgrades
   without content edits; the pulse ring inherits that same background. Pulse
   timing matches the status block's dot. */
.wp-block-nblocks-eyebrow .bar {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: var(--wp--preset--color--primary);
}

.wp-block-nblocks-eyebrow .bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: inherit;
    opacity: 0.7;
    animation: nblocks-eyebrow-pulse 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* Centered eyebrows show no dot (stored markup may still contain the spans). */
.wp-block-nblocks-eyebrow.has-text-align-center .bar {
    display: none;
}

@keyframes nblocks-eyebrow-pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .wp-block-nblocks-eyebrow .bar::after {
        animation: none;
        opacity: 0;
    }
}

.wp-block-nblocks-eyebrow .label {
    display: inline-block;
}
