/* Restrained academic styling. Uncomment / edit to taste. */

/* Slightly softer body text */
body {
  line-height: 1.65;
}

/* Publication listing: tighter cards, larger title */
.quarto-listing-default .listing-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.75em 0;
}

.quarto-listing-default .listing-title {
  font-size: 1.1em;
  font-weight: 600;
}

.quarto-listing-default .listing-description {
  color: #555;
  font-style: italic;
}

.quarto-listing-default .listing-categories .listing-category {
  font-size: 0.8em;
  background-color: #f0f4f8;
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 4px;
}

/* Highlight the "code" tag in the listing (base64 of "code" = Y29kZQ==) */
.listing-category[onclick*="Y29kZQ=="] {
  background-color: #e6f4ea !important;
  color: #137333 !important;
  font-weight: 600;
}
.listing-category[onclick*="Y29kZQ=="]::before {
  content: "\2039/\203A\00a0";   /* ‹/› */
}

/* Inline "code available" badge for hand-written lists (home page) */
.code-badge {
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #137333;
  background-color: #e6f4ea;
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: 1px;
}
.code-badge:hover { background-color: #d3ecdb; }

/* Navbar spacing */
.navbar-brand {
  font-weight: 600;
}
