/* 1. Change heading color */
h1, h2, h3, h4, h5, h6 {
  color: #7d63b8; /* hex code of color */
}

/* 2. Style inline code (`text`) */
code {
  background-color: #f5f5f5; 
  color: #0B4DC7;    /* or any color you like */
  padding: 2px 4px;
  border-radius: 4px;
}

/* 4. Enlarge the left sidebar (TOC) font size */
.quarto-sidebar {
  font-size: 1.1em; /* Adjust as needed */
}

/* 7. If you want a different color for links in the TOC or headings: */
.quarto-sidebar a {
  color: #7d63b8; /* matching the heading color, for instance */
}

#title-block-header {
  margin-bottom: 3.5rem !important; /* Increase this value as needed */
}

/* Anything that comes out of a code cell  */
.cell-output pre {
  background: #f6f8fa;      /* light-grey like the code block */
  padding: .6em .8em;
  border-radius: 4px;
  font-size: 90%;           /* optional: a tad smaller */
}

.page-content {
  max-width: 800px;   /* siauresnis stulpelis – lengviau skaityti */
  margin-left: auto;  /* centre ekrane, jeigu tema to nedaro pati */
  margin-right: auto;
}

/* Shadow & rounded corners for callouts */
.callout {
  border-radius: 1rem;
  overflow: hidden;          /* ← key line */
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
/* 3Center chapter numbers in sidebar */
#quarto-sidebar .chapter-number {
  font-weight: 450;
  text-align: center;
}

/* ==== show a logo above the book title ===== */

/* put some breathing-room above the title */
.sidebar-title {
  padding-top: 1rem;
}

/* inject the logo *before* the title text */
img.quarto-cover-image {
  max-width: 180px;       /* <= pick any width that fits the sidebar */
  height: auto;           /* keep the aspect-ratio */
  display: block;         /* lets margin auto-centre it */
  margin: 0 auto 0.75rem; /* space below the logo */
}

/* keep the bar from hiding behind the floating sidebar shadow */
.quarto-sidebar { z-index: 10000; }

/* give a little breathing-room so the first heading doesn’t sit under the bar */
.page-content { scroll-margin-top: 6px; }

.sidebar-title { color: #7d63b8; }