/* The refreshed homepage and error page; older articles keep their styles. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; color: #000; background: #666; font: 100% Verdana, Arial, Helvetica, sans-serif; line-height: 1.45; }
a { color: #174e80; }
a:hover { color: #fff; background: #369; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid #174e80; outline-offset: 3px; }
img { max-width: 100%; height: auto; border: 0; }
.site-wrap { width: min(95%, 1200px); margin: 0 auto; background: #fff; }
.site-header { display: flex; align-items: center; gap: 18px; min-height: 100px; background: #5588bb url('/page-edge-blue.png') repeat-y; }
.site-header img { width: 142px; flex: 0 0 auto; }
.site-header p { margin: 0; font: 18px Tahoma, Geneva, sans-serif; }
.top-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 8px 16px; background: #5588bb; font-size: 16px; }
.top-links a { color: #000; }
.archive-note { margin: 14px 20px; padding: 10px 14px; border-left: 3px solid #5588bb; background: #f1f5fa; font-size: 14px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 18px; padding: 0 20px 20px; align-items: start; }
main { min-width: 0; }
h1 { font: bold 18px Tahoma, Geneva, sans-serif; margin: 0 0 16px; }
h2, h3 { font: bold 14px Tahoma, Geneva, sans-serif; }
h4 { font-size: 1em; }
p { margin: .4em 0 .8em; }
.side-nav { font-size: 13px; }
.side-nav details { margin-bottom: 4px; }
.side-nav summary { padding: 8px; cursor: pointer; font-weight: bold; background: #ccbb88 url('/menu-background.jpg') no-repeat left center; }
.side-nav details a { display: block; padding: 6px 8px; border-bottom: 1px solid #ddd; color: #000; }
.side-nav details a:hover { background: #5588bb; }
.side-nav .menu-direct { display: block; padding: 8px; font-weight: bold; }
.site-footer { padding: 12px 20px; border-top: 1px solid #ddd; font-size: 12px; }
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { position: static; display: block; padding: 8px; }
.error-content { min-height: 300px; padding: 24px 20px; }
@media (max-width: 700px) {
    .site-wrap { width: 100%; }
    .site-header { gap: 10px; min-height: 80px; }
    .site-header img { width: 100px; }
    .site-header p { font-size: 16px; }
    .top-links { gap: 8px 16px; font-size: 14px; }
    .archive-note { margin: 12px; }
    .page-layout { grid-template-columns: 1fr; gap: 12px; padding: 0 12px 18px; }
    .side-nav { border-top: 1px solid #ddd; padding-top: 10px; }
}
