/* Shared compact layout for desktop windows, including Full HD at 150% zoom.
   The breakpoint uses CSS viewport width, not a device pixel ratio heuristic.
   Keep phone/tablet and wide desktop layouts under their existing rules. */
@media screen and (min-width: 992px) and (max-width: 1399.98px) {
  body {
    zoom: .85;
  }

  body .site-gutter {
    --adrecom-site-gutter: clamp(44px, 4.5vw, 64px);
  }

  /* Bootstrap uses 100vw/100vh here; percentages keep the fixed overlay
     across the complete viewport when the body is compact. */
  .modal-backdrop {
    width: 100%;
    height: 100%;
  }
  /* Match the wide-screen hero line breaks at compact desktop widths. */
  #home-hero-title {
    max-width: 22ch;
  }
  /* Keep each chapter illustration to the right of its smaller copy. */
  .body_index .change-chapter--illustrated .chapter-product-body {
    grid-template-columns: minmax(0, 1fr) clamp(112px, 10vw, 140px);
    align-items: start;
    gap: 12px;
  }
  .body_index .change-chapter--illustrated .chapter-product-body > .adrecom-copy {
    --adrecom-copy-size: clamp(14px, 1.25vw, 16px);
    max-width: none;
  }
  .body_index .change-chapter--illustrated .chapter-product-illustration {
    width: 100%;
  }
}
