/* Added in the 2026 rebuild: the original theme is a fixed 980px layout. On narrow
   screens, stack the sidebar under the posts instead of making people zoom and scroll.
   Wider screens are untouched. */
@media (max-width: 1000px) {
  #bg, #bg-all { width: auto; margin-top: 0; }
  .container { float: none; width: auto; padding: 16px; }
  .logo .img img { max-width: 100%; height: auto; }
  .menu { display: none; }
  .SL { float: none; width: auto; padding-left: 0; }
  .p-time { position: static; overflow: hidden; width: auto; padding-bottom: 8px; }
  .p-time strong { margin-right: 4px; }
  .p-time .day, .p-time .month { padding: 3px 0; margin-bottom: 0; font-size: 12px; line-height: 14px; }
  .p-time .year { padding: 3px 5px; }
  .p-con img.alignleft, .p-con img.alignright { float: none; display: block; margin: 5px auto 15px; }
  .p-con img { height: auto; }
  .p-con iframe { max-width: 100%; }
  .SR { float: none; width: auto; margin: 0 16px; padding-bottom: 16px; }
  .SR .search form { width: auto; }
  .SR .search input { width: calc(100% - 100px); }
  .footer { width: auto; padding: 15px 16px; }
}
