/* The Spoonbender: rebuilt 2026, keeping the 2003-2008 look (black page, Shiva masthead,
   right-aligned post column, grey sidebar boxes). Desktop geometry matches the original
   absolute layout: masthead at 5,1; posts at left 392 / top 139, 371 wide; sidebar at left 75 / top 540, 200 wide. */
html, body { margin: 0; background: #000; color: #fff; }
body { font-family: Arial, Helvetica, sans-serif; }
a:link { color: #ccc; } a:visited { color: #999; } a:hover, a:active { color: #999; }

.page { display: grid; grid-template-columns: 75px 200px 117px 371px; align-items: start; width: 818px; position: relative; padding-bottom: 40px; }
.masthead { position: absolute; left: 5px; top: 1px; z-index: 1; margin: 0; }
.masthead h1 { margin: 0; line-height: 0; }
.masthead img { display: block; width: 774px; height: auto; border: 0; }

.posts { grid-column: 4; grid-row: 1; position: relative; z-index: 2; padding-top: 139px; text-align: right; font-size: 13px; line-height: 1.35; min-width: 0; }
.date { font-size: 10px; font-weight: normal; color: #8c8c8c; margin: 0; text-align: right; }
.post { margin-top: 1.1em; }
.entry { margin: 0 0 1em; overflow-wrap: break-word; }
.entry img { max-width: 100%; height: auto !important; }
.byline { font-size: 10px; color: #8c8c8c; margin: 0 0 1em; }
.byline a:link { color: #ccc; }
.sep { color: #6e6e6e; margin: 0 0 1.2em; font-size: 13px; }
.video { display: block; max-width: 425px; aspect-ratio: 425 / 344; margin: .3em 0 .3em auto; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.editor-note { display: block; border: 1px dashed #8c8c8c; padding: 6px 8px; margin: .4em 0; color: #ddd; font-style: italic; text-align: left; }

.sidebar { grid-column: 2; grid-row: 1; margin-top: 540px; position: relative; z-index: 4; }
.box { background: #333; text-align: center; color: #b0b0b0; font-size: 10px; padding: 8px 6px 10px; margin: 0 0 30px; }
.box p { margin: .9em 0; }
.box a:visited { color: #aaa; }
.box h2 { font-size: 11px; font-weight: normal; color: #eee; margin: .6em 0 .5em; letter-spacing: .03em; }
.box ul { list-style: none; margin: 0 0 .8em; padding: 0; }
.box li { margin: 1px 0; }
.box img { border: 0; vertical-align: middle; }
.donate { margin: .9em 0; }
.bug { text-align: center; }
.bug img { border: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.stub main { max-width: 600px; margin: 40px auto; padding: 0 16px; font-size: 16px; }

/* Phones and narrow windows: masthead scales, posts first, sidebar stacks below */
@media (max-width: 830px) {
  .page { display: block; width: auto; padding-bottom: 24px; }
  .masthead { position: static; }
  .masthead img { width: 100%; max-width: 774px; }
  .posts { padding: 0 16px; font-size: 16px; line-height: 1.5; }
  .entry { text-align: left; }
  .date, .byline { font-size: 13px; }
  .sidebar { margin: 24px auto 0; max-width: 360px; padding: 0 16px; }
  .box { font-size: 14px; padding: 10px; margin-bottom: 20px; }
  .box h2 { font-size: 15px; }
  .box li { margin: 6px 0; }
  .archive ul { columns: 2; }
}
