/* UBC Law Review: mobile layout (Boris, 2026-12-02). Only below 768px; desktop looks as before. */
@media screen and (max-width: 767px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { overflow-wrap: break-word; word-wrap: break-word; }
  #wrap .row { margin-left: 0 !important; margin-right: 0 !important; }
  #wrap .content article { padding-left: 0; padding-right: 0; }
  #wrap .content, #wrap .sidebar { padding-left: 14px; padding-right: 14px; }
  .content p, .content li, .sidebar li, .sidebar p { font-size: 17px; line-height: 1.6; }
  .content h1, .content h1 a { font-size: 27px; line-height: 1.25; }
  .content h2, .content h2 a { font-size: 22px; line-height: 1.3; }
  .content h3 { font-size: 20px; line-height: 1.3; }
  .content img { max-width: 100% !important; height: auto !important; }
  .content img.alignleft, .content img.alignright, .content img[align], .content img[style*="float"] { float: none !important; display: block; margin: 12px auto !important; }
  .content .wp-caption { width: auto !important; max-width: 100% !important; float: none !important; }
  .content iframe { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; }
  .content table { display: block; max-width: 100%; overflow-x: auto; }
  .content pre { white-space: pre-wrap; }
  .sidebar .widget li a { display: inline-block; padding: 6px 0; line-height: 1.4; }
  .sidebar .textwidget p[align="center"] { text-align: left; line-height: 1.4 !important; }
  .pager a, .navigation a { padding: 10px 16px; }
}
