/* Shared site shell; existing native dialogs, search and menu remain in charge. */
.ns-topbar{background:var(--ns-green);color:#fff;font-family:var(--ns-heading);font-size:12px;font-weight:600}
.ns-topbar>.ns-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:36px}
.ns-topbar a{display:inline-flex;align-items:center;gap:16px;min-height:36px}
.ns-topbar a:hover{color:var(--ns-peach);text-decoration:none}
.ns-header{background:#fff;border:0;border-bottom:1px solid var(--ns-rule)}
.ns-header-inner{min-height:108px;max-width:1360px;grid-template-columns:auto 1fr auto;gap:40px;padding:20px 32px}
.ns-brand{grid-column:1;grid-row:1;display:grid;justify-items:start;gap:5px;min-width:0}
.ns-header .ns-logo{font-size:34px;line-height:1.15;letter-spacing:-1.4px}
.ns-header .ns-logo span,.ns-menu-header .ns-logo span{color:var(--ns-wine)}
.ns-brand-note{color:#616161;font-size:9px;letter-spacing:1.2px;text-transform:uppercase;white-space:nowrap}
.ns-header .ns-desktop-nav{grid-column:2;grid-row:1;justify-self:end}
.ns-header .ns-nav-list{gap:24px;align-items:center}
.ns-header .ns-nav-list a{display:inline-flex;align-items:center;min-height:44px;padding:7px 0;border-bottom:3px solid transparent;font-family:var(--ns-heading);font-size:16px;letter-spacing:.6px;font-weight:800;text-transform:uppercase}
.ns-header .ns-nav-list a:hover,.ns-header .ns-nav-list a:focus-visible,.ns-header .current-menu-item>a,.ns-header a[aria-current=page]{border-bottom-color:var(--ns-yellow);text-decoration:none;color:var(--ns-wine)}
.ns-header-actions{grid-column:3;grid-row:1;gap:18px}
.ns-header .ns-header-index{display:inline-flex;align-items:center;gap:10px;background:var(--ns-peach);color:var(--ns-ink);min-height:44px;padding:10px 16px;border-radius:4px;font:700 12px var(--ns-heading);letter-spacing:0;text-transform:none}
.ns-header .ns-header-index:hover{background:#ffefc5;text-decoration:none}
.ns-header-index svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.ns-header .ns-icon-button{border:1px solid var(--ns-rule);border-radius:50%;background:#fff}
.ns-header .ns-icon-button:hover{background:var(--ns-sage)}
.ns-dialog{border-radius:8px;background:var(--ns-cream)}
.ns-dialog.ns-menu-dialog{border-radius:0 0 12px 12px;background:var(--ns-cream);padding-bottom:16px}
.ns-menu-dialog .ns-menu-header{background:var(--ns-green);color:#fff;border:0;min-height:82px}
.ns-menu-dialog .ns-menu-header .ns-logo{font-size:26px;letter-spacing:-1px}
.ns-menu-dialog .ns-menu-kicker{margin:20px 24px 12px;color:#616161;font-size:11px;letter-spacing:1px;text-transform:uppercase}
.ns-menu-dialog .ns-nav-list,.ns-menu-dialog .ns-menu-group{margin-inline:12px}
.ns-menu-dialog .ns-nav-list a,.ns-menu-dialog .ns-menu-group summary{border:0;border-radius:4px;padding:15px 16px;min-height:52px;font-family:var(--ns-heading);font-size:16px;text-transform:none;letter-spacing:0;font-weight:700}
.ns-menu-dialog .ns-menu-group summary{background:var(--ns-sage)}
.ns-menu-dialog .ns-nav-list a:hover{background:var(--ns-peach)}
.ns-menu-dialog .ns-menu-group ul{background:transparent;margin:0;padding:6px 12px}
.ns-menu-dialog .ns-menu-group li a{padding:10px 16px;font-size:16px;border-radius:4px}
@media(max-width:1150px){.ns-header-inner{gap:24px}.ns-header .ns-header-index{display:none}.ns-header .ns-nav-list{gap:18px}}
@media(max-width:960px){.ns-header .ns-desktop-nav{display:none}.ns-header .ns-menu-toggle{display:grid;grid-column:1;grid-row:1;justify-self:start}.ns-header-inner{min-height:88px;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;padding:14px 18px}.ns-brand{grid-column:2;justify-items:center}.ns-header .ns-logo{font-size:clamp(18px,5.7vw,32px);letter-spacing:-1px}.ns-brand-note{font-size:7px;letter-spacing:.45px}.ns-header-actions{justify-content:end}.ns-header .ns-icon-button{width:44px;height:44px;padding:10px}.ns-topbar>.ns-wrap{justify-content:center}.ns-topbar a:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.ns-header a,.ns-dialog.ns-menu-dialog,.ns-dialog,.ns-menu-dialog>nav{transition:none}}

.ns-header{position:sticky;top:0;z-index:40}
.ns-header .ns-logo{font-size:38px}
.ns-header .ns-nav-list a[href$="/recipe-index/"]{border-bottom:2px solid var(--ns-yellow)}
.ns-header .ns-header-index{font-size:14px}
.ns-header .ns-nav-list a{position:relative;transition:border-color .2s ease}
@media(max-width:1100px)and(min-width:961px){.ns-header .ns-logo{font-size:32px}.ns-header .ns-nav-list a{font-size:14px}}
@media(max-width:960px){.ns-header .ns-logo{font-size:clamp(18px,5.7vw,32px)}}
@media(prefers-reduced-motion:reduce){.ns-header .ns-nav-list a{transition:none}}

/* Brand wordmark stays compact enough for the existing native mobile controls. */
.ns-header .ns-logo{font-size:44px;letter-spacing:-.04em}
@media(max-width:1100px)and(min-width:961px){.ns-header .ns-logo{font-size:38px}}
@media(max-width:960px){.ns-header .ns-logo{font-size:clamp(28px,6.8vw,40px)}}
.ns-menu-dialog .ns-menu-header .ns-logo{font-size:32px;letter-spacing:-.04em;justify-self:center;justify-content:center}
.ns-menu-dialog .ns-menu-header .ns-logo-with{font-size:10px}
.ns-menu-dialog .ns-menu-header .ns-icon-button{color:#fff}
.ns-menu-dialog .ns-menu-header .ns-icon-button:hover{color:var(--ns-yellow)}
.ns-menu-dialog .ns-menu-header .ns-icon-button:focus-visible{outline:2px solid #fff;outline-offset:2px}
