/* css styles */

/* Auto-hyphenation for justified text */
p {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  text-align: justify;
  /* Font-family now defined in SCSS theme files */
}

/* Language-specific hyphenation tuning */
[lang="en"] p {
  -webkit-hyphenate-limit-chars: 6 3 2;
  hyphenate-limit-chars: 6 3 2;
}

/* More aggressive hyphenation for German if needed */
[lang="de"] p {
  -webkit-hyphenate-limit-chars: 5 2 2;
  hyphenate-limit-chars: 5 2 2;
}

.margin-footnote {
  font-size: 0.8em;
  line-height: 1.4;
  margin-top: -1.5em; /* Adjust to align with reference mark */
}
  
.footnote-ref {
  vertical-align: baseline;
}

/* Right-align blockquotes - structural only, colors now in theme */
blockquote {
  text-align: right;
  border-left: none; 
  padding-right: 1em;
  margin-right: 0;
  margin-left: auto;
}

/* If you want to maintain the blockquote style but right-align */
blockquote p {
  text-align: right;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Make the Quarto navbar logo bigger */
.navbar-brand img {
  height: 48px;   /* Adjust as needed */
  max-height: 96px;
  width: auto;
}