/* Identical on the blog and the Wiki. */
.brand .wordmark{width:clamp(140px,13vw,192px);height:auto;display:block;filter:brightness(0) invert(1)}
.brand .wiki{text-transform:uppercase}
.resources{display:flex;align-items:center;flex-wrap:wrap;gap:6px clamp(13px,1.65vw,28px)}
.resources>a{text-decoration:none}.resources>a:hover,.resources>a:focus-visible{text-decoration:underline}
.hosting-credit a{text-decoration:underline}.top .hosting-credit{white-space:nowrap}
.topnav{gap:clamp(18px,2.1vw,32px)}
.nav-switch,.topnav>.mob-toggle{display:none}
.footer>.bound{align-items:baseline}
@media(max-width:1200px){
  .top>.bound{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:0 12px;align-content:center}
  .top>.bound>.brand{justify-self:start;min-height:68px}.topnav{display:contents}
  .top .lang{grid-column:2;grid-row:1}
  .top .resources{display:none;grid-row:2;grid-column:1/-1;border-top:1px solid var(--line);padding:14px 0;gap:12px 22px}
  .top:has(.nav-switch:checked) .resources{display:flex}
  .top .nav-switch{display:block;position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
  .topnav>.mob-toggle{grid-column:3;grid-row:1;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:8px;background:#080808;border:1px solid #555;cursor:pointer}
  .nav-switch:focus-visible+.mob-toggle{outline:2px solid #fff;outline-offset:3px}
  .nav-switch:checked+.mob-toggle{background:#262626;border-color:#aaa}
}
@media(max-width:800px){
  .top:has(.nav-switch:checked)+.shell>.rail{display:block;order:-1;padding:20px 0;border-bottom:1px solid #555}
  .rail .rail-close{display:none}
}
@media(max-width:540px){
  .top>.bound{gap:0 9px}.brand .wordmark{width:clamp(98px,28vw,138px)}
  .footer>.bound{align-items:flex-start}.top .langs{width:min(74vw,410px)}
}
