/* Typography */
h2, h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

/* About page link buttons */
div.quarto-about-trestles .about-entity .about-links {
  column-gap: 1em;
  margin-right: 15%;
  margin-left: 15%;
}

/* Papers: abstract toggle */
details {
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
}

details summary {
  cursor: pointer;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

details summary:hover {
  color: #333;
}

details[open] summary {
  margin-bottom: 0.5rem;
}

details p {
  background-color: #faf7f2;
  border-left: 3px solid #c8b89a;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #444;
}

/* Navbar separator before Side quests dropdown */
.navbar-nav .nav-item.dropdown > .nav-link::before {
  content: "|";
  margin-right: 0.6rem;
  opacity: 0.4;
}

/* Navbar brand styling */
.navbar-brand {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Footer */
.nav-footer {
  font-size: 0.85rem;
  color: #888;
}

/* Blog: callout-tip light green background */
.callout-tip {
  background-color: #f0fff4;
}

.callout-tip > .callout-header {
  background-color: #e2f5e9;
}

/* Blog: plain code blocks (no language specified) */
pre:not(.sourceCode) {
  background-color: #f2f2f2;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

/* Blog: danger zone block */
.danger-zone {
  background-color: #fff0f0;
  border-left: 3px solid #d9534f;
  padding: 0.85rem 1.1rem;
  border-radius: 0 4px 4px 0;
  margin: 1rem 0;
}

/* Blog: FAQ collapsible items */
details.faq-item {
  border-bottom: 1px solid #e8e0d5;
  padding-bottom: 0.5rem;
}

details.faq-item summary {
  font-style: normal;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

details.faq-item p {
  background-color: transparent;
  border-left: none;
  padding: 0;
  font-size: 1rem;
  color: inherit;
}

/* Blog listing table */
.quarto-listing-table thead {
  display: none;
}

.quarto-listing-table td {
  padding: 0.75rem 0.5rem;
  vertical-align: top;
  border-color: #f0ebe3;
}

.listing-date {
  color: #999;
  font-size: 0.85rem;
  white-space: nowrap;
}

.listing-title a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
}

.listing-title a:hover {
  color: #7a6a55;
  text-decoration: none;
}

.listing-description {
  color: #666;
  font-size: 0.9rem;
}

.quarto-listing-table tr:hover {
  background-color: #faf7f2;
}

/* General content max width on full-layout pages */
.page-layout-full .content {
  max-width: 860px;
  margin: 0 auto;
}
