/* paper-landing — a paper's front page: the page-authored head on the left, the
   shared reader on the right, the reader first when the columns stack.

   The head is the page's own markup, passed in as the block body; this widget
   owns only the arrangement, so it carries no type, colour or copy of either
   front. Every skinnable value is a custom property declared here, and a site
   supplies its own without editing this file. */

.paper-landing {
  --pl-cols: minmax(0, 380px) minmax(0, 1fr);
  --pl-gap: clamp(28px, 4vw, 56px);

  display: grid;
  grid-template-columns: var(--pl-cols);
  gap: var(--pl-gap);
  align-items: start;
}

.paper-landing__head {
  min-width: 0;
}

.paper-landing__viewer {
  min-width: 0;
}

@media (max-width: 1000px) {
  .paper-landing {
    grid-template-columns: 1fr;
  }

  .paper-landing__viewer {
    order: -1;
  }
}

@media print {
  .paper-landing {
    display: block;
  }

  .paper-landing__viewer {
    display: none;
  }
}
