/* Light Mode Header */
:root {
    --md-primary-fg-color: #b1b1b1;
}

/* Dark Mode Header */
[data-md-color-scheme="slate"] {
    --md-primary-fg-color: #000000;
}

/* Dark Mode Logo */
[data-md-color-scheme="slate"] .md-header__button.md-logo img {
    content: url("../images/mantle-logo-light.png");
}

/* Increase font size of site_name */
.md-header__title {
    font-size: 1.75rem; /* Adjust the size as needed */
    color: #39393B;
    font-weight: bold;
}

/* Increase main page width */
.md-grid {
    max-width: 100% !important;
}

/* Adjust the main content container */
.md-main__inner {
    max-width: 100% !important;
    width: 100% !important;
}

/* Increase Mantle logo size in header */
.md-header__button.md-logo img {
    height: auto;
    width: 220px; 
    max-width: none;
    padding-top: 6px;
}

/* Bold the active section in the Table of Contents */
.md-nav__link--active {
    font-weight: bold; /* Makes the selected section bold */
    color: #D2232A !important;
}

/* Bold the font of the active navigation tab */
.md-tabs__link--active {
    font-weight: bold;
    color: #D2232A !important;
}

/* Left-align and limit admonition width */
.md-typeset .admonition {
    max-width: 100%;
    margin-left: 0;  
    margin-right: auto;
}

/* Set the scroll offset on the container (Keeps header from hiding section title) */
html {
    scroll-padding-top: 30px; 
}

/* Set all images to 800px width, left-align, top/bottom margins, outline*/
.md-typeset img {
    display: block;
    margin-left: 0;  
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 25px;
    max-width: 800px;
        width: auto;
    outline: 2px solid #e4e4e4;
}

/* Add divider between TOC and Main content*/
.md-content {
    border-left: 2px solid #e4e4e4;
    padding-right: 8px;
}

/* Adjust paragraphs and list items in the main content */
.md-typeset p,
.md-typeset li {
    font-size: 0.8rem;
}

/* Commented section below allows for numbered lists to continue even with #Headings in between*/ 
/*
body {
    counter-reset: global-counter;
}

ol {
    list-style: none;
    padding-left: 0;
}

ol li {
    counter-increment: global-counter;
    position: relative;
}

ol li::before {
    content: counter(global-counter) ". ";
    position: absolute;
    left: -2em; 
    font-weight: bold;
}*/