/* Shared typography for pdf-document text entries (.textEntry content).
   Linked by every surface that renders the same content:
     - the canvas editor (proshop/includes/pageHead.php -> manage_canvas.php)
     - proshop/pdf-preview.php
     - pdf-render.php (the page PDFShift converts to the actual PDF)
   Only typography lives here — each surface keeps its own structural and
   text-scaling rules (positioning, the zoom/transform on .textEntry_inner).
   Change type here and all three stay in sync; adding a typographic rule in
   any one surface's own CSS instead will make editor and PDF drift apart.
   rem values resolve against the page root (16px on all three surfaces)
   and are then scaled per item by each surface's text-scale factor.
   Inline styles TinyMCE writes into the content always win over these. */

.textEntry {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #2a2a2a;
  text-align: left;
  letter-spacing: normal;
  word-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* the inner wrapper's padding is part of the text's wrap width, so it must
   be identical everywhere; box-sizing is declared here because the canvas
   admin page (unlike the pdf pages) has no global border-box reset */
.textEntry .textEntry_inner {
  padding: 10px;
  box-sizing: border-box;
  container-type: inline-size;
}

.textEntry h1,
.textEntry h2,
.textEntry h3 {
  margin: 0 0 1rem 0;
  padding: 0;
  font-weight: 700;
}

.textEntry h2 {
  font-size: 2rem;
}

.textEntry ul,
.textEntry ol {
  margin: 1rem 0 1rem 2rem;
}

/* every surface renders items inside a ul.canvas with list markers
   disabled, which content lists inherit — restore them */
.textEntry ul li,
.textEntry ol li {
  list-style: initial;
}
