/* css styles */
.navbar-logo { max-height: 38px; }

/* =========================
   DOFPro site-wide polish
   ========================= */

/* Improve overall readability */
main.content {
  line-height: 1.55;
}

/* Better spacing between sections */
h1, h2, h3 {
  margin-top: 1.4em;
  margin-bottom: 0.45em;
}

p, ul, ol, dl {
  margin-bottom: 0.9em;
}

/* Slightly tighten top title area */
.quarto-title-block .quarto-title-banner,
.quarto-title-block .quarto-title-meta {
  margin-bottom: 0.4rem;
}

/* Definition list styling */
dl {
  margin-top: 1.2em;
}

dt {
  font-weight: 600;
  margin-top: 1em;
  color: #222;
}

dd {
  margin-left: 1.5em;
  margin-bottom: 0.7em;
  line-height: 1.45;
}

dt:not(:first-child) {
  border-top: 1px solid #e6e6e6;
  padding-top: 0.6em;
}

/* Make callouts cleaner */
.callout {
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

/* Improve iframe spacing */
iframe {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  max-width: 100%;
}

/* Video link lines read better stacked */
.video-links a {
  margin-right: 0.5em;
}

/* Tables: slightly cleaner */
table {
  margin-top: 0.8em;
  margin-bottom: 1.2em;
}

th, td {
  padding: 0.45em 0.65em;
}

/* Blockquotes for teaching quotes */
blockquote {
  border-left: 4px solid #d0d0d0;
  padding-left: 1em;
  color: #444;
  margin: 1em 0;
}

/* Make math blocks breathe a little */
.math.display {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

/* Horizontal rules subtle */
hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1.5em 0;
}