/* Use the site's masthead on the historical guide without restyling its articles. */
.mast {
  --fg: #163833; --sub: #455e56; --line: #c9d0c4; --wash: #e8ede4;
  background: #f8f6f0;
  font: 17px/1.6 "Helvetica Neue", Arial, sans-serif;
}
html[data-theme="dark"] .mast {
  --fg: #f1f2e4; --sub: #bed0c5; --line: #415951; --wash: #223d34;
  background: #112421;
}
.mast-inner { width: min(1220px, 92%); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.mast .brand { font: 700 25px/1 Arial,sans-serif; letter-spacing: -.055em; color: var(--fg); gap: 10px; }
.mast .brand img { width: 31px; height: 31px; }
.mast nav, .mast .tools { display: flex; align-items: center; gap: clamp(10px,1.5vw,23px); }
.mast nav a { color: var(--sub); font-size: 14px; font-weight: 600; text-decoration: none; }
@media(max-width:650px){.mast-inner {width: calc(100% - 32px);} .mast-inner > nav {gap: 6px 14px;}}
