
.md-nav__item--section > input[type="checkbox"] {
  display: none !important;
}

  .md-search__inner {
    width: 30rem;
    margin-right: 40px;
    border-radius: 5px;
    
  }

  .md-search__form {
      border-radius: .1rem;
      height: 1.8rem;
  }

.md-nav__title{
  font-size: 20px;
  padding: 0px;
  color: rgb(51, 51, 51);
  }

/* Stick the left navigation bar */
.md-sidebar--primary {
  position: fixed;
  top: 0;
  height: 130vh;
  width: 35vh;
  overflow-y: auto;
  z-index: 1;
  /* border-right: 1px solid rgb(182, 182, 182); */
  padding-top: 40px;
}

/* Stick the right Table of Contents (TOC) */
.md-sidebar--secondary {
  position: sticky;
  top: 10px;
  height: 100vh;
  overflow-y: auto;
  z-index: 1;
  width: 25%;
  margin-left: 20px;

}

/* Expand main content width */
.md-grid {
  max-width: 100%; /* Override default narrow width */
}

.md-main__inner {
  margin-top: 0px;
  margin-left: 1rem;
  margin-right: 1rem;
  padding-right: 0px !important;
}

.md-sidebar .md-sidebar__inner {

  padding-right: 0rem !important;
}

/* Add spacing around content */
.md-content {
  margin-left: 14rem;
  margin-right: 2rem;
  padding: 1rem;
  max-width: 1000px;
}

/* Reset forced override of navigation toggle */
.md-nav__item--section > input,
.md-nav__toggle {
  /* display: initial !important; */
  pointer-events: initial !important;
  opacity: initial !important;
}

/* Make sure nav list displays properly */
.md-nav__item--section > input:checked ~ .md-nav__list {
  display: block !important;
}

/* Optional: Style tweak to make arrow always visible */
.md-nav__toggle {
  opacity: 1 !important;
  transition: transform 0.2s ease;
}
/* Base body font size */
body {
  font-size: 12px; /* Default is ~16px, so this is slightly smaller */
}

/* Markdown headings */
h1, .md-typeset h1 {
  font-size: 26px;
}

h2, .md-typeset h2 {
  font-size: 22px;
}

h3, .md-typeset h3 {
  font-size: 18px;
}

/* Paragraph text and list items */
p, li {
  font-size: 17px;
  line-height: 1.6;
}

/* Code blocks and inline code */
code, pre {
  font-size: 12px;
  font-family: Inter,Consolas, monospace;
}

/* Tables (if used) */
table {
  font-size: 12px;
}

/* Custom classes if needed */
.smaller-text {
  font-size: 12px;
}

.bigger-text {
  font-size: 14px;
}

/* Increase sidebar section title font size */
/* .md-nav__title {
  font-size: 1.1rem;  
  font-weight: bold;
  color: #333333;
} */

/* Optionally increase sidebar width */
/* .md-sidebar--primary {
  width: 300px;  
} */
/* .md-main__inner {
  margin-left: 300px; 
}
 */

 /* Sidebar navigation items */
/* .md-nav__item .md-nav__link {
  font-size: 1.05rem;  
  font-weight: 500;
} */
/* Style only the TPW Graphics Book section title */


.md-nav__title span.tpw-section {
  font-size: 19px;
  font-weight: 800;
  color: #1a73e8; /* Optional: TPW blue or custom color */
}

.md-header {
  background-color: #1f2837;
  box-shadow: 0 0 .2rem #0000, 0 .2rem .4rem #0000;
  color: var(--md-primary-bg-color);
  display: block;
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
}

.md-header__title{
color:white;
}

.level-1 { padding-left: 10px; font-weight: 500; }
.level-2 { padding-left: 20px; }
.level-3 { padding-left: 30px; }

/* body{
  font-family: inter,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-size: 19px;
} */