/* Editorial callouts in the desktop nav.
 *
 * The planner promotes one or two editorial pages (blog, news,
 * stories, lookbook) with a small image + label + Featured tag.
 * Missing image degrades to text-only via the
 * --text-only modifier class; no broken placeholder ever ships.
 */

.nav-editorial-callout {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm, 0.75rem);
    padding: var(--spacing-xs, 0.5rem);
    border-radius: var(--corner-default, 8px);
    color: inherit;
    text-decoration: none;
    transition: background var(--anim-fast, 120ms) ease;
}

.nav-editorial-callout:hover,
.nav-editorial-callout:focus-visible {
    background: var(--color-surface-muted, rgba(0, 0, 0, 0.04));
}

.nav-editorial-callout .nav-thumbnail {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--corner-subtle, 4px);
    flex: 0 0 auto;
}

.nav-editorial-callout-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-editorial-callout-tag {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--color-primary, currentColor);
}

.nav-editorial-callout-label {
    font-weight: 600;
}

.nav-editorial-callout-summary {
    font-size: 0.8125rem;
    color: var(--color-text-muted, rgba(0, 0, 0, 0.65));
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 18ch;
}

/* Hide editorial callouts on mobile — they reappear inside the layered
 * shell through the same NavTreatment dispatch in the mobile
 * partial's regular nav-mobile-item path.
 */
@media (max-width: 1023px) {
    .nav-editorial-callout {
        display: none;
    }
}
