/* Long legal-guide titles should use the article width without creating a
   false empty column, and the consultation rail should remain on-canvas. */
@media (min-width: 801px) {
  .page-shell--library {
    gap: clamp(1.5rem, 3vw, 3rem);
    grid-template-columns: minmax(0, 1fr) minmax(285px, 320px);
    width: min(1280px, calc(100% - 48px));
  }

  .entry-content--library {
    padding: clamp(2rem, 3.25vw, 3.25rem);
  }

  .entry-content--library > h2:first-of-type {
    max-width: 24ch;
    font-size: clamp(2.15rem, 3.15vw, 3rem);
    line-height: 1.05;
    text-wrap: pretty;
  }
}

@media (min-width: 801px) and (max-width: 1120px) {
  .page-shell--library {
    grid-template-columns: minmax(0, 1fr) 280px;
    width: min(100% - 36px, 1040px);
  }

  .entry-content--library {
    padding: clamp(1.6rem, 2.6vw, 2.3rem);
  }

  .entry-content--library > h2:first-of-type {
    font-size: clamp(2rem, 3.8vw, 2.65rem);
  }
}
