.toc-content a {
    display: block;
    text-indent: -.19em;  /* Adjust as necessary */
    padding-left: 0em;  /* Adjust as necessary */
    text-decoration: none;
    color: #333;
}

.toc-content a:hover {
    text-decoration: underline;
}

.toc-content a::before {
    content: attr(data-number) ". ";
    color: #666;
    display: inline-block;
    width: 2em;  /* Adjust as necessary */
    margin-left: -1.75em;  /* Adjust as necessary */
    margin-top: 3px;
}

.toc-button {
    padding: 10px;
    border: 2px solid #140f0f;
    background-color: #a32929;
    color: white;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 500; /* or any other value less than bold */
    font-size: 16px;
    border-radius: 0.3rem;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 4px 6px 0 rgba(0, 0, 0, 0.15);
}

.toc-button:hover {
    background-color: #007bff;
}

.toc-content {
    display: none;  /* Initially hidden */
    position: absolute;  /* Position it on top of the content */
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    width: 300px;  /* Adjust as necessary */
    z-index: 100;  /* Ensure it's on top */
    overflow: auto;
    max-height: 400px;  /* Adjust as necessary */
    text-align: left; /* Align the text to the left */
}

.toc-content ul {
    list-style-type: none;
    padding-left: 20px;
}

/* Set font weights based on header level */
.toc-content li h1 a,
.toc-content li h1 a:visited {
    font-weight: bold;
}

.toc-content li h2 a,
.toc-content li h2 a:visited {
    font-weight: normal;
}

.toc-content li h3 a,
.toc-content li h3 a:visited,
.toc-content li h4 a,
.toc-content li h4 a:visited,
.toc-content li h5 a,
.toc-content li h5 a:visited,
.toc-content li h6 a,
.toc-content li h6 a:visited {
    font-weight: lighter;
}

/* assets/custom/css/customcss/blogpost1.css 
<link rel="stylesheet" href="{{cdn 'assets/custom/css/customcss/blogpost1.css '}}">

