/* GMR shared sidebar geometry. Scoped to marked sidebars; page content is untouched. */
@font-face{font-family:GMRNavigation;src:url('gmr-text-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@media screen and (min-width:851px){
 :root{--side:max(190px,13.1vw);--gmr-side:var(--side)}
 body .sidebar.gmr-sidebar{--side:max(190px,13.1vw);--gmr-side:var(--side);--nav-row:clamp(40px,5vh,60px);--nav-font:max(11px,.79vw);--nav-gap:clamp(10px,.75vw,20px);--nav-icon-box:max(20px,1.35vw);--nav-icon-size:max(18px,1.2vw);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;box-sizing:border-box;width:var(--side);height:100vh;height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#343434 transparent}
 body .sidebar.gmr-sidebar>.brand{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;height:14.8vh;min-height:122px;width:100%;margin:0;padding:0;border:0}
 body .sidebar.gmr-sidebar>.brand img{display:block;width:10vw;height:10vw;max-height:none;object-fit:contain;object-position:center;transform:translateX(.26vw);flex:none}
 body .sidebar.gmr-sidebar .side-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0 0 12px;font-family:GMRNavigation,Arial,sans-serif}
 body .sidebar.gmr-sidebar .side-nav>:is(a,button.sidebar-saved){display:grid;grid-template-columns:var(--nav-icon-box) minmax(0,1fr) auto;align-items:center;column-gap:var(--nav-gap);box-sizing:border-box;flex:0 0 auto;width:100%;height:var(--nav-row);min-height:var(--nav-row);max-height:var(--nav-row);margin:0;padding:0 1.65vw 0 calc(1.65vw + 2px);border:0;border-left:2px solid transparent;border-radius:0;background:transparent;color:#ddd;font-family:GMRNavigation,Arial,sans-serif;font-size:var(--nav-font);font-style:normal;font-weight:500;line-height:1.25;letter-spacing:.01em;text-align:left;text-decoration:none;text-transform:uppercase;cursor:pointer;transition:background .16s,color .16s,border-color .16s}
 body .sidebar.gmr-sidebar .side-nav>:is(a,button.sidebar-saved)>span{white-space:nowrap}
 body .sidebar.gmr-sidebar .side-nav .nav-icon{display:grid;place-items:center;box-sizing:border-box;flex:none;width:var(--nav-icon-box);height:var(--nav-icon-box);margin:0;padding:0;color:#93979b}
 body .sidebar.gmr-sidebar .side-nav .nav-icon svg{display:block;flex:none;width:var(--nav-icon-size);height:var(--nav-icon-size);margin:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:inherit;transition:color .16s}
 body .sidebar.gmr-sidebar .side-nav .nav-separator{box-sizing:border-box;flex:0 0 1px;height:1px;min-height:1px;max-height:1px;margin:clamp(5px,.6vh,8px) 2.4vw;border:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.05) 18%,rgba(255,255,255,.05) 82%,transparent)}
 body .sidebar.gmr-sidebar .side-nav>:is(a,button.sidebar-saved):is(:hover,:focus-visible){background:rgba(255,255,255,.04);color:#fff;border-left-color:#e32336;outline:none}
 body .sidebar.gmr-sidebar .side-nav>:is(a,button.sidebar-saved):is(.active,[aria-current=page]){border-left-color:#e32336;background:linear-gradient(90deg,rgba(255,255,255,.055),transparent);color:#fff}
 body .sidebar.gmr-sidebar .side-nav>:is(a,button.sidebar-saved):is(:hover,:focus-visible,.active,[aria-current=page]) .nav-icon{color:#e32336}
 body .sidebar.gmr-sidebar .side-nav .sidebar-saved-count{justify-self:end;margin:0;color:#8b838a;font-size:.85em;font-weight:500;font-variant-numeric:tabular-nums}
}
/* Preserve the established touch layouts; only normalise their navigation type. */
@media screen and (max-width:1023px){
 body:has(.gmr-sidebar) .gmr-mobile-menu nav a{font-family:GMRNavigation,Arial,sans-serif;font-weight:500;min-height:49px;align-items:center}
}
@media screen and (max-width:850px){
 body .sidebar.gmr-sidebar .side-nav a{display:flex;align-items:center;gap:15px;min-height:49px;font-family:GMRNavigation,Arial,sans-serif;font-size:13px;font-weight:500;line-height:1.25}
 body .sidebar.gmr-sidebar .side-nav .nav-icon,body .sidebar.gmr-sidebar .side-nav .nav-icon svg{width:19px;height:19px;flex:none}
}
@media(prefers-reduced-motion:reduce){body .sidebar.gmr-sidebar .side-nav a,body .sidebar.gmr-sidebar .side-nav svg{transition:none}}

@media screen and (min-width:1024px){
body[data-gmr-page=catalogue] .sidebar.gmr-sidebar,
body[data-gmr-page=digital] .sidebar.gmr-sidebar{bottom:var(--player,88px);height:calc(100dvh - var(--player,88px));max-height:calc(100dvh - var(--player,88px))}
body .sidebar.gmr-sidebar{background:radial-gradient(ellipse at 50% 7%,rgba(255,255,255,.043),transparent 25%),linear-gradient(150deg,#111 0%,#080808 30%,#050505 100%);border-right:1px solid rgba(255,255,255,.11);box-shadow:5px 0 18px rgba(0,0,0,.25)}
body .sidebar.gmr-sidebar .side-nav .nav-icon{line-height:1}
}

/* Catalogue / Digital: keep the brand fixed; only the menu may scroll. */
@media screen and (min-width:1024px){
 body:is([data-gmr-page=catalogue],[data-gmr-page=digital]) .sidebar.gmr-sidebar{overflow:hidden}
 body:is([data-gmr-page=catalogue],[data-gmr-page=digital]) .sidebar.gmr-sidebar>.brand{flex:0 0 auto;width:var(--side);max-width:100%;align-self:flex-start}
 body:is([data-gmr-page=catalogue],[data-gmr-page=digital]) .sidebar.gmr-sidebar>.side-nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#343434 transparent}
}
