:root {
  --paper: #f4ecd8;
  --page: #eee4ce;
  --ink: #2d281f;
  --faded: #675b4d;
  --rule: #766c5d;
  --accent: #9e4936;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #d5c8ad;
  font-family: Georgia, "Times New Roman", serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; left: -9999px; top: 6px; z-index: 5; padding: 10px; background: white; }
.skip-link:focus { left: 6px; }
.paper {
  max-width: 1240px;
  min-height: 100vh;
  margin: 24px auto;
  padding: 0 42px;
  background:
    radial-gradient(circle at 5% 14%, rgba(143,106,62,.08), transparent 26%),
    radial-gradient(circle at 91% 83%, rgba(143,106,62,.09), transparent 24%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(84,67,43,.012) 4px 5px),
    var(--paper);
  box-shadow: 0 7px 35px rgba(51,37,18,.28);
}
.edition-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0 12px;
  border-bottom: 1px solid var(--rule);
  color: var(--faded);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 19px 0 23px;
  border-bottom: 5px double var(--ink);
}
.masthead > div { min-width: 0; }
.masthead p {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .35em;
}
.masthead a {
  display: block;
  font-size: clamp(54px, 7.2vw, 94px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 900;
  white-space: nowrap;
  font-variant: small-caps;
}
.masthead small {
  display: block;
  margin-top: 13px;
  color: var(--faded);
  font-size: 15px;
  font-style: italic;
  letter-spacing: .02em;
}
.masthead-doodle { width: 84px; height: 82px; object-fit: contain; flex: 0 0 auto; }
.masthead-doodle:last-child { transform: rotate(9deg); }
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.main-nav a { padding: 13px 16px; }
.main-nav a + a { border-left: 1px solid var(--rule); }
.section-ribbon {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0 8px;
  margin-top: 19px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-ribbon span:first-child { color: var(--accent); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, .92fr); }
.lead-story { min-width: 0; padding: 25px 29px 32px 0; }
.rubric {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.rubric span { color: var(--ink); }
.lead-story h1 {
  max-width: 750px;
  margin: 0 0 18px;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.048em;
  font-weight: 700;
}
.standfirst {
  max-width: 680px;
  margin: 0 0 23px;
  color: #4e4336;
  font-size: 19px;
  line-height: 1.55;
  font-style: italic;
}
.engraving { margin: 0; text-align: center; }
.engraving img {
  display: block;
  width: 100%;
  max-height: 370px;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--rule);
  background: #e7ddc8;
  filter: grayscale(1) sepia(.5) contrast(1.12);
}
.engraving figcaption {
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--faded);
  font-size: 10px;
  font-style: italic;
}
.lead-pullquote { display: flex; align-items: center; gap: 18px; margin: 28px 0 8px; padding: 18px 26px; border-block: 1px solid var(--rule); color: var(--accent); }
.lead-pullquote span { font-size: 43px; line-height: 1; }
.lead-pullquote p { flex: 1; margin: 0; text-align: center; font-size: 23px; font-style: italic; line-height: 1.35; }
.story-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  color: var(--faded);
  font-size: 12px;
  font-style: italic;
}
.story-footer a { color: var(--accent); font-weight: bold; font-style: normal; text-transform: uppercase; letter-spacing: .07em; }
.front-sidebar { border-left: 1px solid var(--rule); padding: 25px 0 15px 24px; }
.editor-note {
  padding: 18px 18px 15px;
  border: 3px double var(--ink);
  text-align: center;
}
.note-doodle { display: block; width: 96px; height: 72px; margin: -4px auto 2px; object-fit: contain; transform: rotate(-7deg); }
.editor-note h2 { margin: 8px 0 11px; font-size: 24px; font-variant: small-caps; border-bottom: 1px solid var(--rule); padding-bottom: 9px; }
.editor-note p { font-size: 14px; line-height: 1.65; margin: 0; }
.editor-note .signature { margin-top: 12px; color: var(--accent); font-size: 19px; font-style: italic; }
.brief-story { border-bottom: 1px solid var(--rule); padding: 24px 0 18px; }
.brief-story.last { border-bottom: 0; }
.brief-story h3 { font-size: 29px; line-height: 1.1; margin: 0 0 11px; }
.brief-story p:not(.rubric) { font-size: 14px; line-height: 1.55; color: var(--faded); margin: 0 0 12px; }
.brief-story a:last-child { font-size: 11px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.chronicles { border-top: 5px double var(--ink); padding: 0 0 42px; }
.chronicles .section-ribbon { margin-top: 8px; }
.section-title { margin: 23px 0 25px; font-size: 42px; font-variant: small-caps; text-align: center; }
.chronicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chronicle-card { min-width: 0; display: flex; flex-direction: column; padding: 20px 23px 24px; }
.chronicle-card:first-child { padding-left: 0; }
.chronicle-card:last-child { padding-right: 0; }
.chronicle-card + .chronicle-card { border-left: 1px solid var(--rule); }
.chronicle-card img, .type-illustration {
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--rule);
  filter: grayscale(1) sepia(.65) contrast(1.1);
  background: #e3d6b9;
}
.chronicle-card:nth-child(3) img { object-position: center; }
.type-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  filter: none;
  background: repeating-linear-gradient(0deg, transparent 0 19px, rgba(84,67,43,.12) 20px 21px), #e9dfc8;
}
.type-illustration span { color: var(--accent); font-size: 92px; line-height: 1; transform: rotate(-13deg); }
.type-illustration small { color: var(--faded); font-size: 12px; font-style: italic; }
.doodle-slot { position: relative; width: 220px; max-width: 100%; height: 145px; flex: 0 0 145px; align-self: flex-start; overflow: hidden; border: 0; background: transparent; }
.chronicle-card .doodle-slot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; padding: 0; object-fit: contain; object-position: center; border: 0; background: transparent; filter: none; mix-blend-mode: multiply; }
.chronicle-card h3 { margin: 17px 0 10px; font-size: 31px; line-height: 1.12; }
.chronicle-card > p:not(.rubric) { margin: 0 0 20px; color: var(--faded); font-size: 14px; line-height: 1.5; }
.card-link { margin-top: auto; color: var(--accent); font-size: 11px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.card-footer, .archive-card__footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 18px; margin-top: auto; }
.archive-card__footer { margin-top: 18px; }
.archive-card__footer > a:first-child { color: var(--accent); font-size: 11px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.comment-count, .story-footer .comment-count { color: var(--faded); font-size: 12px; font-weight: normal; font-style: normal; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.comment-count:hover, .story-footer .comment-count:hover { color: var(--accent); }
.comment-count span { display: inline; margin-right: 3px; color: var(--accent); font-size: 17px; line-height: 0; }
.reading-header > .comment-count { display: inline-block; margin-top: 3px; }
.newsletter { border-top: 5px double var(--ink); margin-bottom: 42px; }
.newsletter .section-ribbon { margin-top: 8px; }
.newsletter-grid { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 38px; max-width: 900px; margin: 34px auto 0; }
.newsletter-mark { width: 170px; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px double var(--ink); border-radius: 50%; color: var(--ink); line-height: .8; transform: rotate(-8deg); }
.newsletter-mark img { display: block; width: 158px; height: 105px; object-fit: contain; }
.newsletter-mark span { margin-top: 4px; font-size: 16px; font-style: italic; }
.newsletter-grid h2 { margin: 0 0 14px; font-size: clamp(31px,4vw,48px); line-height: 1.12; }
.newsletter-grid p:not(.rubric) { font-size: 17px; line-height: 1.65; color: var(--faded); }
.newsletter-button { display: inline-block; margin-top: 10px; padding: 14px 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 12px; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; }
.newsletter-button:hover { color: #fff; background: var(--accent); }
.newsletter-grid small { display: block; margin-top: 12px; color: var(--faded); font-size: 11px; font-style: italic; }
.journal-brevo { width: 100%; margin-top: 23px; }
.journal-brevo #sib-container,
.journal-brevo .sib-form-container { width: 100%; max-width: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
.journal-brevo #sib-form { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; text-align: left; }
.journal-brevo .sib-input { flex: 1 1 205px; min-width: 0; }
.journal-brevo .entry__label { display: block; margin: 0 0 7px; color: var(--ink); font: bold 11px Georgia, "Times New Roman", serif; letter-spacing: .11em; text-transform: uppercase; }
.journal-brevo .entry__field { border: 1px solid var(--ink); background: rgba(255,255,255,.35); }
.journal-brevo .entry__field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.journal-brevo .entry__field input { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: 16px Georgia, "Times New Roman", serif; }
.journal-brevo .entry__field input::placeholder { color: var(--faded); opacity: .75; }
.journal-brevo .newsletter-button { min-height: 44px; margin: 0; cursor: pointer; font-family: Georgia, "Times New Roman", serif; white-space: nowrap; }
.journal-brevo .newsletter-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.journal-brevo .entry__error { display: none; margin-top: 6px; color: #8c241b; font-size: 13px; }
.journal-brevo .entry__error:not(:empty) { display: block; }
.journal-brevo .sib-form-message-panel { display: none; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--ink); color: var(--ink); background: rgba(255,255,255,.3); font-size: 14px; line-height: 1.45; text-align: left; }
.journal-brevo .sib-form-message-panel--active { display: block; }
.journal-brevo #error-message { border-color: #8c241b; color: #8c241b; }
.journal-brevo:has(.entry__error:not(:empty)) #error-message { display: none; }
.journal-brevo .input--hidden,
.journal-brevo .sib-hide-loader-icon { display: none; }
.comic-strip {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 25px;
  align-items: center;
  border: 4px double var(--ink);
  padding: 25px 32px;
  margin-bottom: 40px;
}
.comic-strip h2 { font-size: 39px; line-height: 1.1; margin: 0 0 12px; }
.comic-strip p:not(.rubric) { color: var(--faded); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.comic-strip a { color: var(--accent); font-size: 12px; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; }
.comic-doodle { position: relative; display: grid; place-items: center; min-height: 180px; border: 2px solid var(--ink); background: #ece1c8; }
.comic-face { font-size: 84px; line-height: 1; transform: rotate(-9deg); }
.comic-bubble { position: absolute; top: 8px; right: 10px; padding: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 13px; font-weight: bold; transform: rotate(8deg); }
.comic-star { position: absolute; bottom: 8px; left: 17px; color: var(--accent); font-size: 31px; }
.counter { border-top: 5px double var(--ink); padding-bottom: 42px; }
.counter .section-ribbon { margin-top: 8px; }
.counter-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; padding: 28px 0 10px; }
.counter-intro h2 { margin: 0 0 17px; font-size: 50px; line-height: 1.04; }
.counter-intro > p:not(.rubric) { max-width: 370px; color: var(--faded); font-size: 16px; line-height: 1.7; }
.counter-doodle { display: block; width: 170px; height: 120px; object-fit: contain; margin: 18px 0 0 10px; transform: rotate(-8deg); }
.chat-frame { min-width: 0; border: 2px solid var(--ink); background: #e7dcc4; }
.chat-heading { display: flex; gap: 9px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: bold; }
.chat-heading > span { color: #62815a; font-size: 13px; }
.chat-heading small { margin-left: auto; font-size: 10px; font-weight: normal; letter-spacing: .1em; text-transform: uppercase; }
.chat-preview { height: 290px; padding: 14px; overflow-y: auto; background: #f7f0df; }
.chat-latest:not([hidden]) { display: block; width: 100%; padding: 8px 12px; border: 0; border-top: 1px solid var(--rule); background: #eee2ca; color: var(--ink); font: bold 12px Georgia,serif; cursor: pointer; }
.chat-latest:not([hidden]):hover { background: #dfcfaa; }
.chat-messages { margin: 0; padding: 0; list-style: none; }
.chat-empty { padding: 35px 12px; color: var(--faded); font-size: 14px; font-style: italic; text-align: center; }
.chat-message { margin: 0 0 11px; padding: 12px 15px; border: 1px solid var(--rule); border-radius: 3px 15px 15px 15px; background: #eee2ca; overflow-wrap: anywhere; }
.chat-message__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.chat-message strong { font-size: 15px; }
.chat-message time { color: var(--faded); font-size: 11px; white-space: nowrap; }
.chat-message p { margin: 7px 0 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.chat-compose { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 13px; border-top: 1px solid var(--rule); }
.chat-compose label { font-size: 11px; font-weight: bold; letter-spacing: .03em; }
.chat-compose input, .chat-compose textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--rule); border-radius: 0; background: #fbf7ec; color: var(--ink); font: inherit; font-size: 14px; resize: vertical; }
.chat-compose input:focus-visible, .chat-compose textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chat-compose button { padding: 11px; border: 0; background: var(--ink); color: var(--paper); font: inherit; font-size: 11px; font-weight: bold; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.chat-compose button:disabled { opacity: .55; cursor: not-allowed; }
.chat-compose small { color: var(--faded); font-size: 11px; }
.chat-status { margin: 3px 0; color: var(--faded); font-size: 12px; }
.chat-status--error { color: var(--accent); }
.chat-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 25px 0 35px; font-size: 11px; }
footer strong { display: block; letter-spacing: .14em; }
footer span { display: block; color: var(--faded); margin-top: 5px; font-style: italic; }
footer nav { display: flex; gap: 18px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) {
  .paper { margin: 0 auto; padding: 0 25px; }
  .masthead a { white-space: normal; font-size: clamp(45px, 8vw, 75px); }
  .main-nav a { padding: 12px; }
  .lead-grid { grid-template-columns: 1.5fr 1fr; }
  .lead-story h1 { font-size: 50px; }
  .counter-grid { gap: 24px; }
}
@media (max-width: 650px) {
  .paper { padding: 0 16px; }
  .edition-line { font-size: 9px; }
  .edition-line span:last-child { display: none; }
  .masthead { padding: 21px 0; }
  .masthead-doodle { display: none; }
  .masthead a { font-size: 51px; }
  .masthead small { font-size: 12px; line-height: 1.4; }
  .main-nav { justify-content: flex-start; }
  .main-nav a { padding: 10px 9px; font-size: 10px; }
  .lead-grid, .chronicle-grid, .comic-strip, .counter-grid { grid-template-columns: 1fr; }
  .lead-story { padding: 24px 0 27px; }
  .lead-story h1 { font-size: 45px; }
  .standfirst { font-size: 17px; }
  .front-sidebar { padding: 0 0 25px; border-left: 0; border-top: 1px solid var(--rule); }
  .editor-note { margin-top: 24px; }
  .chronicle-card, .chronicle-card:first-child, .chronicle-card:last-child { padding: 22px 0; }
  .chronicle-card + .chronicle-card { border-left: 0; border-top: 1px solid var(--rule); }
  .chronicle-card img, .type-illustration { height: 210px; }
  .doodle-slot { width: 195px; height: 130px; flex-basis: 130px; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; margin-top: 26px; }
  .newsletter-mark { width: 170px; height: 170px; font-size: 60px; margin: auto; }
  .section-title { font-size: 34px; }
  .comic-strip { padding: 22px; }
  .comic-strip h2 { font-size: 31px; }
  .counter-intro h2 { font-size: 42px; }
  .counter-doodle { display: none; }
  .chat-preview { min-height: 225px; }
  footer, footer nav { display: block; }
  footer nav a { display: inline-block; margin: 14px 12px 0 0; }
}
/* Interior pages: spacious reading within the newspaper. */
[hidden] { display: none !important; }
.interior-heading, .reading-header { text-align: center; padding: 48px 12px 30px; max-width: 850px; margin: auto; }
.interior-heading h1, .reading-header h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.07; margin: 14px 0 22px; font-weight: 700; }
.interior-heading > p:not(.rubric) { font-size: 19px; font-style: italic; line-height: 1.6; }
.reading-meta { font-size: 13px; color: var(--faded); line-height: 1.8; }
.reading-ornament { display: block; font-size: 38px; color: var(--accent); margin-top: 24px; }
.reading-doodle { display: block; width: 160px; height: 105px; object-fit: contain; margin: 18px auto 0; transform: rotate(-4deg); }
.reading-body { max-width: 960px; margin: 0 auto 55px; font-size: 19px; line-height: 1.85; overflow-wrap: anywhere; }
.reading-body p { margin: 0 0 1.4em; }
.original-text { white-space: pre-wrap; }
.reading-body h2, .reading-body h3 { line-height: 1.3; margin: 1.7em 0 .8em; }
.reading-body img { display: block; max-width: 100%; height: auto; margin: 25px auto; }
.reading-body figure { margin: 25px 0; }
.reading-body a { text-decoration: underline; text-underline-offset: 4px; }
.reading-body blockquote { margin: 30px 0; border-left: 3px solid var(--accent); padding: 12px 25px; font-style: italic; }
.reading-body table { display: block; max-width: 100%; overflow-x: auto; }
.reading-end { border-top: 5px double var(--ink); border-bottom: 1px solid var(--rule); text-align: center; padding: 32px 10px; margin-top: 35px; }
.reading-end h2 { font-size: 31px; margin: 12px; }
.reading-end a { display: inline-block; margin: 10px 20px; text-decoration: underline; text-underline-offset: 4px; }
.archive-tools { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 18px; border-top: 5px double var(--ink); border-bottom: 1px solid var(--rule); padding: 25px 0; }
.archive-tools label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.archive-tools input, .archive-tools select { display: block; width: 100%; margin-top: 10px; padding: 13px; border: 1px solid var(--rule); border-radius: 0; background: #fbf6e9; color: var(--ink); font: 16px Georgia,serif; }
.archive-grid, .bd-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.archive-card { padding: 25px 0; border-bottom: 1px solid var(--rule); }
.archive-card h2 { font-size: 33px; margin: 12px 0; line-height: 1.15; }
.archive-card > p:not(.rubric) { font-size: 17px; line-height: 1.7; color: var(--faded); }
.archive-card > a, .bd-card span { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
#result-count, .preview-footnote, .reader-tip { font-size: 13px; font-style: italic; color: var(--faded); padding: 12px 0; }
.bd-grid { border-top: 5px double var(--ink); padding-top: 30px; }
.bd-card { padding: 10px 18px 35px; border-bottom: 1px solid var(--rule); text-align: center; }
.bd-card img { width: 100%; height: 340px; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 22px; }
.bd-card h2 { font-size: 29px; line-height: 1.2; }
.comic-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 780px; margin: 0 auto 20px; position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 12px 0; border-block: 1px solid var(--rule); }
.comic-controls button { font: 15px Georgia,serif; padding: 12px 17px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.comic-controls button:disabled { opacity: .35; cursor: default; }
.comic-page { margin: 0 auto; max-width: 780px; text-align: center; }
.comic-page img { display: block; width: 100%; height: auto; }
.comic-page figcaption { margin: 12px; font-size: 13px; }
.reader-tip { text-align: center; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media(max-width:650px) {
 .archive-grid, .bd-grid, .archive-tools { grid-template-columns: 1fr; }
 .reading-body { font-size: 18px; line-height: 1.8; }
 .interior-heading, .reading-header { padding: 30px 0 22px; }
 .comic-controls { font-size: 12px; }
 .comic-controls button { font-size: 12px; padding: 10px; }
 .bd-card { padding-inline: 0; }
}

/* Série illustrée approuvée : le blanc se fond dans le papier du journal. */
.masthead-doodle, .note-doodle, .newsletter-mark img, .counter-doodle, .reading-doodle { mix-blend-mode: multiply; }

/* La rotation crée un groupe de rendu : fondre le médaillon entier dans le papier. */
.newsletter-mark { mix-blend-mode: multiply; }
@media (min-width: 651px) and (max-width: 900px) {
  .archive-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-tools label:first-child { grid-column: 1 / -1; }
}

/* Accueil compartimenté : grands récits, brèves et réclame du journal. */
.boxed-edition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .65fr); gap: 16px; padding: 18px 0 30px; }
.boxed-edition > * { min-width: 0; scroll-margin-top: 16px; }
.boxed-edition .front-page, .boxed-edition .chronicles { grid-column: 1 / -1; }
.boxed-edition .section-ribbon { margin: 0; padding: 10px 12px; gap: 12px; font-size: 10px; letter-spacing: .11em; }
.boxed-edition .front-page > .section-ribbon { border: 0; border-bottom: 3px double var(--ink); margin-bottom: 12px; }
.boxed-edition .lead-grid { gap: 14px; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr); }
.boxed-edition .lead-story { display: flex; flex-direction: column; padding: 28px; border: 5px double var(--ink); }
.boxed-edition .lead-story h1 { font-size: clamp(40px, 4.8vw, 66px); }
.boxed-edition .lead-visual { width: min(210px, 45%); margin: 0 10px 8px auto; }
.boxed-edition .lead-visual a { display: block; }
.boxed-edition .lead-visual img { display: block; width: 100%; max-height: 145px; object-fit: contain; object-position: center; }
.boxed-edition .lead-visual--doodle img { mix-blend-mode: multiply; }
.boxed-edition .lead-pullquote { margin-top: auto; padding: 20px 6px; }
.boxed-edition .front-sidebar { display: grid; gap: 12px; padding: 0; border: 0; }
.boxed-edition .editor-note { border: 1px solid var(--ink); padding: 14px 18px; }
.boxed-edition .note-doodle { width: 135px; height: 80px; }
.boxed-edition .brief-story { border: 1px solid var(--rule); padding: 18px; }
.boxed-edition .brief-story.last { border: 3px double var(--ink); }
.boxed-edition .brief-story h3 { font-size: 26px; }
.boxed-edition .astro-corner { border: 4px double var(--ink); padding: 14px 18px 18px; text-align: center; }
.boxed-edition .astro-corner .rubric { margin: 0 0 4px; }
.boxed-edition .astro-corner__ornament { display: block; font-size: 27px; line-height: 1.2; color: var(--accent); }
.boxed-edition .astro-corner h3 { margin: 3px 0 10px; font-size: 25px; line-height: 1.1; font-variant: small-caps; }
.boxed-edition .astro-corner p:not(.rubric) { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.boxed-edition .astro-corner a { display: inline-block; padding-top: 9px; border-top: 1px solid var(--rule); color: var(--accent); font-size: 11px; font-weight: bold; letter-spacing: .07em; text-transform: uppercase; }
.boxed-edition .chronicles { grid-row: 3; padding: 0; border: 0; }
.boxed-edition .chronicles > .section-ribbon { border-top: 3px double var(--ink); }
.boxed-edition .section-title { margin: 14px 0; font-size: 34px; }
.boxed-edition .chronicle-grid { gap: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 0; align-items: stretch; }
.boxed-edition .chronicle-card { grid-column: span 2; padding: 20px; border: 1px solid var(--ink); }
/* When a page ends with one or two cards, they fill the final newspaper row. */
.boxed-edition .chronicle-card:nth-last-child(2):nth-child(3n + 1),
.boxed-edition .chronicle-card:last-child:nth-child(3n + 2) { grid-column: span 3; }
.boxed-edition .chronicle-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.boxed-edition .chronicle-card:nth-child(2) { border: 4px double var(--ink); }
.boxed-edition .doodle-slot { align-self: center; }
.boxed-edition .chronicle-card h3 { margin-top: 10px; }
.boxed-edition .newsletter { grid-column: 2; grid-row: 4; margin: 0; padding: 7px; border: 5px double var(--ink); text-align: center; }
.boxed-edition .newsletter .section-ribbon { justify-content: center; border-top: 0; }
.boxed-edition .newsletter .section-ribbon span:last-child { display: none; }
.boxed-edition .newsletter-grid { display: flex; flex-direction: column; gap: 20px; margin: 20px 12px; }
.boxed-edition .newsletter-mark { flex-shrink: 0; }
.boxed-edition .newsletter-grid h2 { font-size: 36px; font-variant: small-caps; }
.boxed-edition .newsletter-grid p:not(.rubric) { font-size: 16px; }
.boxed-edition .newsletter-button { line-height: 1.5; }
.boxed-edition .journal-brevo #sib-form { justify-content: center; }
.boxed-edition .journal-brevo .sib-input { flex-basis: 100%; }
.boxed-edition .journal-brevo .sib-form-block__button { width: 100%; }
.boxed-edition .newsletter-copy { width: 100%; }
.boxed-edition .counter { grid-column: 1; grid-row: 4; border: 1px solid var(--ink); padding: 7px; }
.boxed-edition .counter > .section-ribbon { border-top: 0; }
.boxed-edition .counter-grid { grid-template-columns: 1fr; gap: 18px; padding: 20px 14px 14px; }
.boxed-edition .counter-intro { position: relative; padding-right: 125px; }
.boxed-edition .counter-intro h2 { font-size: 38px; }
.boxed-edition .counter-intro > p:not(.rubric) { max-width: none; font-size: 15px; }
.boxed-edition .counter-doodle { position: absolute; right: -10px; top: 30px; width: 140px; height: 100px; margin: 0; }
.boxed-edition .chat-preview { min-height: 180px; }
.boxed-edition .coulisses-preview { grid-column: 1 / -1; grid-row: 2; padding: 8px 0 18px; }
.coulisses-preview--archive { margin: 25px 0 35px; padding-bottom: 25px; border-bottom: 4px double var(--ink); }
.coulisses-preview .section-ribbon { border-top: 3px double var(--ink); }
.coulisses-preview__intro { max-width: 740px; margin: 0 auto 22px; text-align: center; color: var(--faded); font-size: 15px; line-height: 1.55; }
.coulisses-preview__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.coulisses-preview__card { display: flex; flex-direction: column; min-height: 165px; padding: 18px 20px; border: 1px solid var(--ink); }
.coulisses-preview__card h3 { margin: 10px 0 18px; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.coulisses-preview__card > a { margin-top: auto; color: var(--accent); font-size: 11px; font-weight: bold; letter-spacing: .07em; text-transform: uppercase; }
@media (max-width: 900px) {
 .boxed-edition { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 12px; }
 .boxed-edition .lead-grid { grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); }
 .boxed-edition .lead-story { padding: 20px; }
 .boxed-edition .chronicle-card { padding: 15px; }
 .boxed-edition .chronicle-card h3 { font-size: 27px; }
 .boxed-edition .counter-intro { padding-right: 0; }
 .boxed-edition .counter-doodle { display: none; }
}
@media (max-width: 650px) {
 .boxed-edition { display: flex; flex-direction: column; gap: 18px; }
 .boxed-edition .lead-grid { grid-template-columns: minmax(0, 1fr); }
 .boxed-edition .chronicle-grid { display: flex; flex-direction: column; }
 .boxed-edition .lead-story { padding: 20px 16px; }
 .boxed-edition .lead-story h1 { font-size: 40px; overflow-wrap: break-word; }
 .boxed-edition .lead-pullquote { margin-top: 15px; gap: 8px; }
 .boxed-edition .lead-pullquote p { font-size: 21px; }
 .boxed-edition .story-footer { flex-direction: column; gap: 12px; }
 .boxed-edition .editor-note { margin-top: 0; }
 .boxed-edition .chronicle-card { padding: 20px; }
 .boxed-edition .chronicle-card { grid-column: auto; }
 .boxed-edition .section-ribbon { flex-wrap: wrap; }
 .boxed-edition .newsletter-grid { margin-inline: 8px; }
 .boxed-edition .newsletter-grid h2 { font-size: 33px; }
 .boxed-edition .chat-heading { flex-wrap: wrap; }
 .boxed-edition .chat-heading small { margin-left: 0; }
 .boxed-edition .counter-grid { padding-inline: 8px; }
 .coulisses-preview__grid { grid-template-columns: 1fr; }
}
