
 /*Reduces the space between the title and the first heading */
div.md-content article.md-content__inner h1 {
    margin-bottom: -1rem !important;
}

/* Remove the space between the header and body and the first heading */
.md-main__inner {
    margin-top: 0px !important;
}

/* Hide the title in the navigation bar */
.md-nav__title {
  display: none;
}

/* Font size of the title in the body */
body {
    font-size: 0.777778rem;
}

 /* Add space between top-level nav sections */
.md-sidebar--primary .md-nav__item {
  margin-bottom: 0.5rem; /* Adjust spacing as needed */
}

/* Add header to the top of the left-hand- nav */
.md-sidebar--primary .md-sidebar__inner::before {
  content: "Agentic Insights...";
  display: block;
  font-weight: bold;
  font-size: 1.1rem;
  color: #4caf50; /* Soft green */
  padding: 0 0 0.5rem 1rem; /* top right bottom left */
}

/* Hide the right-hand nav when there are no sections in the rendered page */
/* Hide the "On this page" container if there are no links */
/* Hide the right-hand TOC if no items inside */
.md-sidebar__inner nav.md-nav--secondary ul:empty {
  display: none;
}

/* Also hide the entire TOC container if no ul is present */
.md-sidebar__inner nav.md-nav--secondary:has(> ul:empty) {
  display: none;
}

/* Add light-gray background to the secondary sidebar */
.md-sidebar__inner nav.md-nav--secondary {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  background-color: #fafafa;
}

/* Enhance TOC on right-hand side of page */
.md-sidebar__inner nav.md-nav--secondary::before {
  content: "On this page...";
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

/* Add light-gray background to the primary sidebar */
.md-sidebar__inner nav.md-nav--primary {
  border: 1px solid #e0e0e0; /* light gray border */
  border-radius: 8px;         /* rounded corners */
  padding: 1rem;              /* inner padding */
  background-color: #fafafa;  /* very light background */
}

/* Move text to left in primary sidebar */
 .md-sidebar--primary {
  padding-left: 0.5rem; /* Reduce from default */
}

.md-sidebar__inner {
  margin-left: 0; /* Fully remove extra margin */
}

/*!* Move .md-nav__link by 15px without affecting .md-nav__item *!*/

.md-nav__link {
    position: relative;
    padding-left: 5px;
}





/* THis works*/
/* .md-sidebar--primary .md-nav__item {
    padding-left: 10px !important;
} */

/* Font size of the title in the navigation bar */

/* h1.doc-heading {*/
/*    font-size: 5.5rem;*/
/*}*/
/* h2.doc-heading {*/
/*    font-size: 1.5rem;*/
/*}*/
/*h3.doc-heading {*/
/*    font-size: 1.4rem;*/
/*}*/
/*h4.doc-heading {*/
/*    font-size: 1.3rem;*/
/*}*/
/*h5.doc-heading {*/
/*    font-size: 1.2rem;*/
/*}*/


.md-typeset h1  {
    font-size: 1.4rem;
    font-weight: bold;
}
 /*h1 {*/
/*    font-size: 10em;  !* Change to your desired size - 3em to 10em*!*/
/*}*/
/*h2 {*/
/*    font-size: 5em; !* Adjust as needed - 2.5em to 5em *!*/
/*}*/
/*h3 {*/
/*    font-size: 4.5em;   !* Adjust as needed - 2em to 4.5em *!*/
/*}*/


/*Make the title bigger in the navigation bar*/
/*.md-header-nav__title {*/
/*    font-size: 15em !important;  !* Adjust this value to make the title larger *!*/
/*}*/


/*.md-nav[data-md-level="2"] > .md-nav__list {*/
/*  margin-left: 5em;*/
/*  border-left: 1px solid var(--md-accent-fg-color);*/
/*  padding-left: 5.5em;*/
/*}*/


/*!*!* Move .md-nav__item by 1px *!*!*/
/*.md-nav__item {*/
/*    margin-left: 15px;*/
/*}*/

/*!*!* Move .md-nav__item by 1px *!*!*/
/*.md-nav__item--nested {*/
/*    margin-left: 15px;*/
/*}*/

/* .md-nav__list {*/
/*    margin-left: 15px;*/
/*}*/

/*.md-nav__item--nested {*/
/*    padding-left: 30px; !* Adjust this value to increase indentation *!*/
/*}*/

/* ????? */
/*.data-md-component {*/
/*    padding-left: 30px !important;*/
/*}*/

/* Hide the arrow icon for parent menu items */
/*.md-nav__icon {*/
/*    visibility: hidden !important; !* Hides the icon but keeps its space *!*/
/*}*/

/*puhses all child items*/
/*.md-nav__item--nested {*/
/*    padding-left: 15px !important;*/
/*}*/


/*p.md-typeset {*/
/*    font-size: 0rem !important;*/
/*}*/

/*Article.md-content__inner.md-typeset {*/
/*    font-size: 0px !important;*/
/*}*/


/*!*puhses all child items *!*/
/*.md-sidebar--primary .md-nav__item--nested {*/
/*    padding-left: 30px !important;*/
/*}*/

/* Pushes entire navigation bar to the right */
/*.md-sidebar--primary {*/
/*    padding-left: 30px !important;*/
/*}*/


/*Move arrow icon to the left of the navigation bar*/
/*.md-nav__link {*/
/*  flex-direction: row-reverse;*/
/*}*/
/*.md-nav__link .md-ellipsis {*/
/*  flex-grow: 1;*/
/*}*/

/*Hide the arrow icon for parent menu items */
/*.md-nav__item--nested > .md-nav__link::before {*/
/*    display: none;*/
/*}*/



/*puhses all child items */
/*.md-sidebar--primary .md-nav__item--nested {*/
/*    padding-left: 30px !important;*/
/*}*/

/*Pushes everything to the right*/
/*.md-sidebar--primary .md-nav__list {*/
/*    padding-left: 35px !important;*/
/*}*/


/*Perfect, but child items are to left*/
/*.md-sidebar--primary .md-nav__list {*/
/*    padding-left: 15px !important;*/
/*}*/

/*.md-nav__item {*/
/*    padding-left: 1px !important;*/
/*}*/






/*.md-nav__item {*/
/*    padding-left: 10px !important;*/
/*}*/

/*.md-nav__link {*/
/*    padding-left: 15px !important;*/
/*}*/




/*.md-nav__link {*/
/*    margin-left: 1px;*/
/*}*/



/* Set .md-nav__item to inline-block so it's independent */
/*.md-nav__item {*/
/*    display: inline-block;*/
/*    margin-left: 1px;*/
/*}*/



/*.md-nav__item--section > .md-nav > .md-nav__list {*/
/*  margin-left: 0.5rem;*/
/*}*/





/*.md-typeset h1 .md-tag {*/
/*  font-size: 20px;*/
/*}*/



/*Hide the title in the navigation bar*/




/*.md-main, .md-content {*/
/*  margin-top: 0 !important;  !* Adjust the top margin *!*/
/*  padding-top: 0 !important;  !* Adjust the top padding *!*/
/*}*/