/* A POST THAT KEEPS THE LOOK OF THE FILE SHE WROTE IT IN (MD-312).

   She sent "Quem não precisa de uma consultoria de interiores?" as a PDF on 2026-10-06 at 18:30:01
   (message 3B0FB19D0E50B6F24E18) and asked: "Gostaria que você respeitasse e mantivesse as
   configurações de fonte e as cores conforme está no pdf, ok?" Every value below was read from the
   PDF itself (docs/sources/md-312-*.pdf, content stream and font table), not from a look at it:

     paper        0.968627 0.952941 0.92549   #f7f3ec    band at the top and headings: #919877
     text         0.266667 0.219608 0.184314  #44382f    subtitle, footer line: #716659
     title        Liberation Serif 29 pt, line 33        pull quote  Liberation Serif Italic 16 pt, line 22
     headings     DejaVu Sans Bold 14 pt, line 18        body        DejaVu Sans 10.2 pt, line 16
     subtitle     DejaVu Sans 10.5 pt                    references  DejaVu Sans 8.5 pt, line 13

   The sizes keep the PDF's proportions (body 10.2 pt = 1 em) and are set on a 17 px body, the size
   a screen needs. Only this page loads this file. The four fonts are the PDF's own, subset to Latin
   (woff2, 19-22 KB each): DejaVu Sans is free to serve (Bitstream Vera licence) and Liberation Serif
   is SIL Open Font License 1.1, both installed on the host the files were cut from with pyftsubset.

   WHAT DOES NOT PASS WCAG AA, KEPT ON PURPOSE: the headings are her #919877 on her #f7f3ec paper,
   2.73:1, under the 3:1 that large bold text needs. The task kept her colour for display text. The
   body (10.25:1) and the grey lines (#716659, 5.07:1) pass. */
@font-face {
  font-family: "DejaVu Sans";
  src: url("/assets/fonts/dejavusans-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans";
  src: url("/assets/fonts/dejavusans-bold-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("/assets/fonts/liberationserif-regular-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("/assets/fonts/liberationserif-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

.post--pdf {
  --pdf-paper: #f7f3ec;
  --pdf-text: #44382f;
  --pdf-band: #919877;                         /* the heading green, from her page */
  --pdf-muted: #716659;
  --pdf-sans: "DejaVu Sans", Verdana, sans-serif;
  --pdf-serif: "Liberation Serif", "Times New Roman", serif;
  background: var(--pdf-paper);
  color: var(--pdf-text);
  font-family: var(--pdf-sans);
  font-size: 1.0625rem;                        /* 17 px = her 10.2 pt */
  line-height: 1.57;                           /* her 16 pt on 10.2 pt */
  /* No band across the top: she asked for it out (2026-10-06). The 1.4rem it took stays as
     padding, so the text does not move. */
  padding: calc(var(--space-xl) + 1.4rem) max(var(--space-s), calc((100% - 46rem) / 2)) var(--space-xl);
  margin-bottom: var(--space-l);
}
.post--pdf > * { max-width: 46rem; margin-left: auto; margin-right: auto; }
.post--pdf > .post__lead { max-width: 60rem; }
.post--pdf .kicker, .post--pdf .post__meta { color: var(--pdf-muted); font-family: var(--pdf-sans); }
.post--pdf .post__meta { font-size: 0.8125rem; }
.post--pdf h1 {
  font-family: var(--pdf-serif); font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.84rem);    /* her 29 pt, 2.84 em */
  line-height: 1.14; color: var(--pdf-text); max-width: 46rem;
}
.post--pdf .post__subtitle { color: var(--pdf-muted); font-size: 1.03em; margin-bottom: var(--space-m); }
.post--pdf h2 {
  font-family: var(--pdf-sans); font-weight: 700; color: var(--pdf-band);
  font-size: 1.37em; line-height: 1.29;                  /* her 14 pt on 18 pt */
  margin: var(--space-l) auto var(--space-2xs);
}
.post--pdf p { max-width: 46rem; margin-bottom: 1em; }
.post--pdf .post__quote {
  font-family: var(--pdf-serif); font-style: italic; text-align: center;
  font-size: 1.57em; line-height: 1.375;                 /* her 16 pt on 22 pt */
  margin-top: var(--space-m); margin-bottom: var(--space-m); padding: 0; border: 0;
}
.post--pdf .post__quote p { margin: 0 auto; }
.post--pdf .post__refs { font-size: 0.83em; line-height: 1.53; list-style: none; padding: 0; }
.post--pdf .post__refs li { margin-bottom: 0.7em; }
.post--pdf .post__closing { font-size: 1.03em; margin-top: var(--space-l); }

/* MD-328. HER WORD OF 2026-10-13 at 18:20:55: "Não gostei das margens dos textos do editorial. Quero que
   elas fiquem todas iguais a da home." On a computer, from 64em, the text of this post starts on the
   Home's text edge (the section's own 1 rem inside --wrap) and takes the Home's --measure.
   Before this, the padding above read 100% as the width of <main> and not of the article, so on top
   of the 46rem column the text sat 344 px in from the Home's at 1440 px. The paper stays: it grows
   2 rem past the column on each side, so the paper frames the text and the text edge is the Home's.
   Phone and tablet are below 64em and never meet this block. */
@media (min-width: 64em) {
  .post.post--pdf {
    --panel-pad: 2rem;
    max-width: calc(var(--wrap) + 2 * var(--panel-pad));
    padding-left: calc(var(--space-s) + var(--panel-pad));
    padding-right: calc(var(--space-s) + var(--panel-pad));
  }
  .post--pdf > *, .post--pdf h1, .post--pdf p { max-width: var(--measure); margin-left: 0; margin-right: 0; }
  .post--pdf > .post__lead, .post--pdf > .gallery { max-width: none; }
  .post--pdf h2, .post--pdf h3, .post--pdf p.post__lead-text, .post--pdf p.post__callout,
  .post--pdf .post__quote p { margin-left: 0; margin-right: 0; }
}
