/* /ebooks guide books (ebook.html), on top of the state law article layout. */
body.pr-ebook #main-content .slp p.eb-intro { margin: 0 0 24px; max-width: 62ch; font-size: 18px; line-height: 30.6px; color: var(--attention-ink, #042238); }
body.pr-ebook #main-content .slp .slp-main.pr-reading.pr-reading .eb-num { display: block; margin-bottom: 4px; font: 700 14px/20px "Open Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #4f5f6e; }
body.pr-ebook #main-content .slp .slp-main.pr-reading.pr-reading p.eb-lead { margin: 0 0 18px; font-weight: 600; }
body.pr-ebook #main-content .slp .slp-main.pr-reading.pr-reading .eb-body h3 { margin: 26px 0 12px; font: 600 24px/1.35 Poppins, "Open Sans", sans-serif !important; color: var(--attention-ink, #042238); }
body.pr-ebook #main-content .slp .slp-main.pr-reading.pr-reading .eb-body h4 { margin: 20px 0 8px; font: 600 19px/1.4 Poppins, "Open Sans", sans-serif !important; }
body.pr-ebook #main-content .slp .slp-main.pr-reading.pr-reading p.eb-source { margin: 18px 0 0; font-size: 15px; line-height: 22px; color: #4f5f6e; }
body.pr-ebook .slp .eb-body img { max-width: 100%; height: auto; }

/* Save as PDF: the chapters only, one after another. */
@media print {
  body.pr-ebook header:not(.slp-hero), body.pr-ebook nav:not(.slp-art-toc), body.pr-ebook footer:not(.slp-legal),
  body.pr-ebook .slp-art-side, body.pr-ebook .eb-actions, body.pr-ebook .eb-more, body.pr-ebook .slp-crumbs,
  body.pr-ebook [class*="chat"], body.pr-ebook [class*="cookie"], body.pr-ebook [id*="chat"], body.pr-ebook [id*="cookie"] { display: none !important; }
  body.pr-ebook .slp-art-hero { background: none !important; padding: 0 0 12px !important; }
  body.pr-ebook .slp-art-body { display: block !important; padding: 0 !important; }
  body.pr-ebook .eb-chapter { break-before: page; border: 0 !important; padding: 0 !important; }
  body.pr-ebook .eb-chapter:first-child { break-before: auto; }
  body.pr-ebook .eb-chapter > h2 { background: none !important; padding: 0 0 8px !important; margin: 0 0 12px !important; }
  body.pr-ebook a { color: inherit !important; text-decoration: underline; }
}

/* /webinars, /podcast and /newsletter (learning_media.html). */
body.pr-learning .lm-body { grid-template-columns: minmax(0, 1fr); max-width: 1120px; }
.lm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.lm-item { display: flex; flex-direction: column; gap: 6px; }
.lm-video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #0b1b2b; }
body.pr-learning #main-content .slp .slp-main.pr-reading.pr-reading p.lm-title { margin: 6px 0 0; font-size: 17px; line-height: 24px; font-weight: 600; }
body.pr-learning #main-content .slp .slp-main.pr-reading.pr-reading p.lm-text { margin: 0; font-size: 15px; line-height: 22px; color: #4f5f6e; }
.lm-step { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4f5f6e; }
body.pr-learning #main-content .slp a.lm-link { font-size: 15px; font-weight: 600; }
.lm-episodes { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 20px; }
.lm-episode { display: grid; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #e2e6ee; }
.lm-audio { width: 100%; max-width: 560px; }
.lm-form { max-width: 560px; }
.lm-label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 16px; }
.lm-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.lm-input { flex: 1 1 240px; min-height: 44px; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 16px; }
.lm-input:hover { border-color: #6b48e0; }
body.pr-learning #main-content .slp .slp-main.pr-reading.pr-reading p.lm-status { margin: 8px 0 0; font-size: 15px; color: #287a4a; }
body.pr-learning #main-content .slp .slp-main.pr-reading.pr-reading p.lm-status.is-error { color: #d8293e; }
@media (prefers-reduced-motion: reduce) { .lm-video { scroll-behavior: auto; } }

/* The guide book info box has only the meta line: no rule above it. */
body.pr-ebook #main-content .slp .slp-art-facts p.slp-art-meta:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
