/* ============================================================
   Rizopoulos-style course-notes deck — reveal.js approximation.
   External stylesheet (referenced via `css: riz.css`) so quoted font
   names never leak into the slide body the way an inline css: block did.
   ============================================================ */

.reveal { font-family: "Lato","Helvetica Neue",Arial,sans-serif; color:#1a1a1a; }

/* Frame title: black bold, left-aligned, thin header rule beneath */
.reveal h2 {
  color:#1a1a1a; font-weight:700; font-size:1.35em; text-align:left;
  text-transform:none; border-bottom:1.5px solid #c9c9c9;
  padding-bottom:.10em; margin:0 0 .55em 0;
}
.reveal h3 { color:#1a1a1a; font-weight:700; text-align:left; }

/* Part dividers: serif, book-like */
.reveal h1 { font-family:Georgia,"Times New Roman",serif; color:#1a1a1a; font-weight:700; }
.reveal .part-num {
  font-family:Georgia,serif; color:#B2182B; font-weight:700;
  font-size:.5em; letter-spacing:.1em; display:block; margin-bottom:.15em;
}

/* Body text: justified, hyphenated, a little more breathing room */
.reveal p, .reveal li { text-align:justify; -webkit-hyphens:auto; hyphens:auto; }
.reveal ul, .reveal ol { line-height:1.55; }
.reveal li { margin:.30em 0; }

/* Semantic colour: red = key term + R> ; blue = code ; bold = packages */
.reveal .key   { color:#B2182B; font-weight:600; }
.reveal .fn    { color:#1f4e9e; font-family:"Fira Mono","Consolas",monospace; font-size:.92em; }
.reveal .pkg   { font-weight:700; }
.reveal .rmark { color:#B2182B; font-family:monospace; font-weight:700; }

/* Signpost lead-ins: Aim: Note: Problem: Remember: In words: */
.reveal .sign  { font-weight:700; text-decoration:underline; text-decoration-thickness:1px; }

/* Example / Remember box */
.reveal .exbox {
  border:1px solid #9a9a9a; background:#fafafa; padding:.5em 1em;
  border-radius:3px; margin:.5em 0; text-align:justify; -webkit-hyphens:auto; hyphens:auto;
}

/* "In words" caption under a figure */
.reveal .inwords { color:#444; font-size:.82em; margin-top:.35em; text-align:justify; }
.reveal .note { color:#555; }

/* Contents (left-aligned, not justified) */
.reveal .toc { font-size:.96em; line-height:1.75; }
.reveal .toc, .reveal .toc li, .reveal .toc p { text-align:left; }
.reveal .toc .pt { color:#B2182B; font-weight:700; }
.reveal .toc .gloss { color:#666; font-style:italic; }

/* figure frames breathe */
.reveal .figframe img { max-height:72vh; box-shadow:none; border:none; }
.reveal .slide-number { color:#999; }

/* ---- Title slide only: greenish Photoshop background + readable text ---- */
#title-slide .title {
  font-size:1.42em; line-height:1.16; font-weight:700; color:#12303a;
  text-shadow:0 2px 12px rgba(255,255,255,.92), 0 0 3px rgba(255,255,255,.95);
  margin-bottom:.40em;
}
#title-slide .subtitle {
  font-size:1.0em; font-style:italic; color:#1c4a4a;
  text-shadow:0 1px 10px rgba(255,255,255,.9);
}
#title-slide .author, #title-slide .date, #title-slide .quarto-title-authors {
  color:#16363a; font-weight:600;
  text-shadow:0 1px 10px rgba(255,255,255,.9);
}
