.masthead .cms-header-nav { display:flex; align-items:center; justify-content:center; gap:8px; margin-left:auto; }
.cms-header-nav a { display:grid; place-items:center; width:44px; height:44px; border:1px solid transparent; border-radius:9px; color:#c63440; text-decoration:none; transition:background .15s; }
.cms-header-nav svg { width:25px; height:25px; }
.cms-header-nav a:hover,.cms-header-nav a[aria-current] { background:#f6e7e8; border-color:#c63440; color:#a82330; }
.cms-header-nav a:focus-visible { outline:3px solid #c63440; outline-offset:3px; }
.masthead:has(.cms-header-nav) .cms-label { display:none; }
@media(max-width:800px) {
	.masthead:has(.cms-header-nav) { flex-wrap:wrap; }
	.masthead .cms-header-nav { order:3; flex-basis:100%; margin:0; padding-top:8px; border-top:1px solid #cfc9bd; gap:14px; }
	.masthead .account-menu { margin-left:auto; }
}
@media(max-width:360px) { .masthead .cms-header-nav { gap:6px; } }

/* Keep navigation visible and editor actions directly beneath it. */
.masthead { position:sticky; top:0; z-index:150; background:#e9e9e7; }
.cms-sticky-actions,.form-actions.cms-sticky-actions { top:var(--cms-header-height,90px); }
html { scroll-padding-top:calc(var(--cms-header-height,90px) + 20px); }
@media(max-width:800px) {
	.cms-sticky-actions,.form-actions.cms-sticky-actions { top:var(--cms-header-height,140px); }
}
