/* ScourJet's blog (hosted: /blog and a post, in English, French and Spanish; Views/blog), loaded after sj.css and hosted.css,
   which hold the shell and the tokens (--lb-*, on body.lp). The home page's grid and type (landing.css): its width and
   gutters, its big title, its section heading sizes and its strip of posts (a rounded cover, the day, the title). A post
   reads in one column of 720 px, its cover wider. Headings keep the hosted letter spacing (hosted.css), as the home page's
   do. Light only, as the other landing pages. No decoration. */

.lp-blog .lp-main { display: block; max-width: var(--lb-wrap); padding: 0 var(--lb-gut) 112px; }
:where(.lp-blog .lp-main) :is(h1, h2, h3) { margin: 0; font-weight: 600; letter-spacing: -.025em; }
:where(.lp-blog .lp-main) p { margin: 0; }

/* The list */
.lp-blog .bl-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; padding-top: 64px; margin-bottom: 56px; }
.lp-blog .bl-top h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; }
.lp-blog .bl-lead { font-size: 17px; line-height: 1.6; color: var(--lb-ink2); max-width: 52ch; }
.lp-blog .bl-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.lp-blog .bl-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.lp-blog .bl-cover { aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--lb-mist); }
.lp-blog .bl-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-blog .bl-date { margin-top: 18px; font-size: 13.5px; color: var(--lb-muted); }
.lp-blog .bl-card h2 { margin-top: 6px; font-size: 22px; line-height: 1.25; overflow-wrap: break-word; }
.lp-blog .bl-card h2 a { color: inherit; text-decoration: none; }
.lp-blog .bl-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.lp-blog .bl-card:hover h2 a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.lp-blog .bl-card h2 a:focus-visible { outline: none; }
.lp-blog .bl-card h2 a:focus-visible::after { outline: 2px solid var(--uj-accent); outline-offset: 6px; }
.lp-blog .bl-ex { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--lb-ink2); overflow-wrap: break-word; }
.lp-blog .bl-tags { margin-top: 12px; font-size: 13.5px; color: var(--lb-muted); }
.lp-blog .bl-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 22px; border-top: 1.5px solid var(--lb-navy); font-size: 15px; }
.lp-blog .bl-pager a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--lb-navy); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--lb-faint); }
.lp-blog .bl-pager a:hover { text-decoration-color: currentColor; }
.lp-blog .bl-pager-n { color: var(--lb-muted); }
.lp-blog .bl-empty { padding-top: 28px; border-top: 1.5px solid var(--lb-navy); }
.lp-blog .bl-empty h2 { font-size: 22px; line-height: 1.25; }
.lp-blog .bl-empty p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--lb-ink2); }

/* A post */
.lp-blog .bl-post { max-width: 1040px; margin: 0 auto; padding-top: 64px; }
.lp-blog .bl-head, .lp-blog .bl-body, .lp-blog .bl-end { max-width: 720px; margin-left: auto; margin-right: auto; }
.lp-blog .bl-head h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.06; text-wrap: balance; overflow-wrap: break-word; }
.lp-blog .bl-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 20px; font-size: 14.5px; color: var(--lb-muted); }
.lp-blog .bl-langs { margin-top: 8px; font-size: 14.5px; color: var(--lb-muted); }
.lp-blog .bl-langs a { color: var(--lb-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lb-faint); }
.lp-blog .bl-langs a:hover { text-decoration-color: currentColor; }
.lp-blog .bl-fig { margin: 40px 0 0; }
.lp-blog .bl-fig img { display: block; width: 100%; height: auto; border-radius: 22px; background: var(--lb-mist); }

/* The body, as the post's author wrote it (BlogHtml keeps these tags only) */
.lp-blog .bl-body { margin-top: 48px; font-size: 18px; line-height: 1.7; color: var(--lb-ink2); overflow-wrap: break-word; }
.lp-blog .bl-body > * + * { margin-top: 1.1em; }
.lp-blog .bl-body :is(h2, h3, h4, h5, h6) { color: var(--lb-navy); text-wrap: balance; }
.lp-blog .bl-body h2 { margin-top: 1.9em; font-size: 30px; line-height: 1.15; }
.lp-blog .bl-body h3 { margin-top: 1.6em; font-size: 22px; line-height: 1.25; }
.lp-blog .bl-body :is(h4, h5, h6) { margin-top: 1.5em; font-size: 18px; line-height: 1.35; }
.lp-blog .bl-body :is(h2, .lp-blog h3, .lp-blog h4, .lp-blog h5, .lp-blog h6) + * { margin-top: .6em; }
.lp-blog .bl-body a { color: var(--lb-navy); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--lb-faint); }
.lp-blog .bl-body a:hover { text-decoration-color: currentColor; }
.lp-blog .bl-body strong, .lp-blog .bl-body b { color: var(--lb-navy); font-weight: 600; }
.lp-blog .bl-body :is(ul, .lp-blog ol) { padding-left: 1.3em; }
.lp-blog .bl-body li + li { margin-top: .4em; }
.lp-blog .bl-body li > :is(ul, .lp-blog ol) { margin-top: .4em; }
.lp-blog .bl-body blockquote { margin: 1.4em 0 0; padding-left: 20px; border-left: 3px solid var(--lb-find); color: var(--lb-navy); }
.lp-blog .bl-body figure { margin: 1.6em 0 0; }
.lp-blog .bl-body figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--lb-muted); }
.lp-blog .bl-body img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.lp-blog .bl-body code { font-family: var(--uj-mono); font-size: .88em; padding: .1em .35em; border-radius: 5px; background: var(--lb-line2); color: var(--lb-navy); }
.lp-blog .bl-body pre { overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: var(--lb-navy); color: #E9EFF7; font: 14px/1.6 var(--uj-mono); }
.lp-blog .bl-body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.lp-blog .bl-body hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--lb-line); }
.lp-blog .bl-table { overflow-x: auto; }
.lp-blog .bl-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.lp-blog .bl-body :is(th, .lp-blog td) { padding: 10px 12px; border-bottom: 1px solid var(--lb-line); text-align: left; vertical-align: top; }
.lp-blog .bl-body th { color: var(--lb-navy); font-weight: 600; }
.lp-blog .bl-body caption { margin-bottom: 8px; font-size: 14px; color: var(--lb-muted); text-align: left; }
.lp-blog .bl-end { margin-top: 64px; padding-top: 22px; border-top: 1.5px solid var(--lb-navy); }
.lp-blog .bl-end a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--lb-navy); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--lb-faint); }
.lp-blog .bl-end a:hover { text-decoration-color: currentColor; }

/* Narrower screens, at the home page's steps */
@media (max-width: 1080px) {
  .lp-blog .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lp-blog .bl-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .lp-blog .bl-top { padding-top: 36px; margin-bottom: 36px; }
  .lp-blog .bl-top h1 { font-size: 40px; }
  .lp-blog .bl-lead { font-size: 16.5px; }
  .lp-blog .bl-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .lp-blog .bl-cover, .lp-blog .bl-card h2 a::after { border-radius: 18px; }
  .lp-blog .bl-pager { margin-top: 56px; }
  .lp-blog .bl-post { padding-top: 32px; }
  .lp-blog .bl-head h1 { font-size: 34px; }
  .lp-blog .bl-fig { margin-top: 28px; }
  .lp-blog .bl-fig img { border-radius: 16px; }
  .lp-blog .bl-body { margin-top: 32px; font-size: 17px; }
  .lp-blog .bl-body h2 { font-size: 26px; }
  .lp-blog .bl-body h3 { font-size: 20px; }
  .lp-blog .bl-end { margin-top: 48px; }
  .lp-blog .lp-main { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-blog *, .lp-blog *::before, .lp-blog *::after { animation: none !important; transition: none !important; }
}
