/* 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;
}

/* REVERIE: canvas text looks the same in the editor and on the site. Both
   pages carry global type rules that used to reach into .textEntry: the
   CMS's old proshop/css/uploader.css (h1 28px/1em Arial, p margins) and the
   site's css/styles.css (h1-h3 in vw, h1 letter-spacing, p line-height 1.4
   + padding). The editor's look is the one kept, set here explicitly so
   neither page's own rules can change it. Untitled Sans (css/fonts.css on
   the CMS, css/styles.css on the site) is the default for text without a
   font of its own; inline styles written in the editor still win. */
.textEntry {
  font-family: "UntitledLight", sans-serif;
  line-height: normal;
}

.textEntry h1 {
  font-family: inherit;
  font-size: 28px;
  line-height: 1em;
  letter-spacing: normal;
  color: #333;
}

.textEntry h2 {
  line-height: normal;
  letter-spacing: normal;
}

.textEntry h3 {
  font-size: 1.17em;
  line-height: normal;
  letter-spacing: normal;
}

.textEntry p {
  margin: 0.25em 0 0.5em;
  padding: 0;
  line-height: normal;
  letter-spacing: normal;
}
