html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
body {
    font-family: Inter, sans-serif;
    background: #f8f9fa;
}

.article-container {
    background: white;
    padding: 40px;
    border-radius: 6px;
}

    .article-container h1 {
        font-family: Merriweather, serif;
        font-size: 36px;
        margin-bottom: 20px;
    }

    .article-container p {
        font-family: Merriweather, serif;
        font-size: 18px;
        line-height: 1.8;
    }

.sidebar-box {
    background: white;
    padding: 20px;
    border-radius: 6px;
}

    .sidebar-box h5 {
        font-weight: 600;
        margin-bottom: 15px;
    }

.toc-box {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}

    .toc-box h5 {
        margin-bottom: 10px;
        font-weight: 600;
    }

    .toc-box ul {
        list-style: none;
        padding-left: 0;
    }

    .toc-box li {
        margin-bottom: 6px;
    }

    .toc-box a {
        text-decoration: none;
        color: #0d6efd;
    }

        .toc-box a:hover {
            text-decoration: underline;
        }
.article-container {
    background: white;
    padding: 35px;
    border-radius: 6px;
}

    .article-container p {
        font-family: Merriweather, serif;
        font-size: 18px;
        line-height: 1.85;
    }
.toc-box {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    font-size: 14px;
}

    .toc-box ul {
        list-style: none;
        padding-left: 0;
    }

    .toc-box li {
        margin-bottom: 6px;
    }

    .toc-box a {
        text-decoration: none;
        color: #0d6efd;
    }

        .toc-box a:hover {
            text-decoration: underline;
        }
#toc-container {
    position: sticky;
    top: 100px;
}
@media (max-width: 992px) {

    #toc-container {
        position: relative;
        margin-bottom: 20px;
    }
}
#toc-container {
    position: sticky;
    top: 100px;
    max-height: 70vh;
    overflow-y: auto;
}
    #toc-container::-webkit-scrollbar {
        width: 6px;
    }

    #toc-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
html {
    scroll-behavior: smooth;
}
.card a {
    text-decoration: none;
    color: #0d6efd;
}

    .card a:hover {
        color: dodgerblue;
    }

#mainNavbar {
    transition: all 0.3s ease;
    padding-top: 18px;
    padding-bottom: 18px;
}

    #mainNavbar.shrink {
        padding-top: 6px;
        padding-bottom: 6px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

        #mainNavbar.shrink .navbar-brand {
            font-size: 1.1rem;
        }