/* WPM technical mobile parity; original desktop theme remains unchanged. */
@media screen and (max-width: 959px) {
  body { font-size: 16px; }
  body.fixed .page-content { width: auto; min-width: 0; max-width: 100%; }
  #header .page-content { margin-right: 12px !important; margin-left: 12px !important; }
  #site-title { padding-top: 20px; }
  #logo { float: none; font-size: 30px; letter-spacing: -3px; overflow-wrap: anywhere; }
  #site-title .headline { float: none; margin: 0 0 12px; padding-left: 12px; }
  .nav-main ul.menu { display: flex; flex-wrap: wrap; }
  .nav-main li { float: none; }
  .nav-main a { min-height: 24px; padding-top: 10px; padding-bottom: 10px; }
  body.fixed.col-2-right #mask-1, #mask-2, #mask-3 { float: none; width: auto; left: auto; right: auto; overflow: visible; }
  body.fixed.col-2-right #primary-content, body.fixed.col-2-right #sidebar {
    float: none; width: auto; left: auto; right: auto; margin: 0; padding: 16px; min-height: 0; box-sizing: border-box;
  }
  #main { background-color: #fff; }
  /* Homepage3 has a 600px illustration with its form absolutely overlaid. */
  body.home #post-3 > .clear-block > div[style] {
    width: auto !important; height: auto !important; padding-bottom: 93%;
    background-size: 100% auto !important; background-position: center bottom !important;
  }
  body.home #post-3 > .clear-block > div[style] > div[style] {
    position: static !important; margin-bottom: 16px;
  }
  #primary-content img, #primary-content video, #primary-content canvas { max-width: 100%; height: auto; }
  #primary-content iframe { max-width: 100%; }
  #primary-content .post-content, #primary-content .hentry { overflow-wrap: anywhere; }
  #primary-content pre { overflow-x: auto; }
  #primary-content form select, #primary-content form input, #primary-content form textarea,
  #sidebar form select, #sidebar form input, #sidebar form textarea { max-width: 100%; box-sizing: border-box; font-size: 16px; }
  #primary-content form select, #primary-content form input[type=submit] { margin-bottom: 8px; }
  #sidebar { border-top: 1px solid #ddd; }
  #copyright { padding-right: 12px; padding-left: 12px; overflow-wrap: anywhere; }
}
