/* User Provided Stylesheet */

/* 1. Enlarge only the logo in the top nav */
.myst-home-link-logo img {
  height: 70px !important;   /* try 80–100; adjust to taste */
  width: auto !important;
}

/* 2. Let the top nav grow to fit the taller logo */
.myst-top-nav {
  height: auto !important;        /* override h-[60px] */
  min-height: 70px !important;    /* should be >= logo height */
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* 3. Keep nav contents nicely centered vertically */
.myst-top-nav-bar {
  align-items: center !important;
}

/* 4. Make sure we are NOT globally messing with all images anymore */
img {
  max-height: none !important;
  height: auto !important;
  width: auto !important;
}

/* Increase vertical spacing inside each TOC entry */
.myst-toc-item {
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
}

/* Increase vertical spacing *between* TOC items */
.myst-toc .myst-toc-item {
  margin-top: 0.4rem !important;
  margin-bottom: 0.4rem !important;
}

/* Add top and bottom padding to the whole TOC area */
.myst-primary-sidebar-toc {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* Optional: slightly increase line-height for readability */
.myst-toc-item {
  line-height: 1.5 !important;
}
