/* Table of Contents Box */
#toc-box {
    width: 100%;
    background-color: #f7f7f7;
    margin: 15px auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Header section */
.toc-header {
    font-weight: bold;
    font-size: 18px; /* اندازه متن رو هم کمی بزرگ‌تر کردم */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

/* Dark mode styling */
body.dark-mode #toc-box {
    background-color: #1e1e1e;
    color: white;
}
body.dark-mode #toc-box ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}
body.dark-mode #toc-box a:hover {
    color: rgb(0, 110, 255);
}
/* End Dark mode styling */

.toc-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.toc-toggle i {
    font-size: 18px;
}

/* Content section */
.toc-content {
    display: none;
    padding: 15px;
    font-size: 14px;
}

#toc-box.toc-open .toc-content {
    display: block;
}

#toc-box.toc-open .toc-toggle i {
    transform: rotate(180deg);
}
#toc-box ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
  }
  
#toc-box ul li a:hover {
    color: #0067d4;
  }
.entry-content {
      font-size: 16px;
  }