/* Large Screens */
@media screen and (min-width: 900px) {

    /* Page Content Layout */
    .content-layout {
      grid-template-columns: 390px 1fr;
      padding-bottom: 30px;
    }
  
    .side-panel {
      width: 390px;
    }
  
    .side-panel-sticky {
      position: sticky;
      top: 24px;
      height: calc(100vh - 48px);
    }
  
  }
  
  /* Documentation and License Content Styles */
  .content-container {
    background-color: var(--color-background);
    padding: 24px;
    margin: 2rem auto;
  }
  
  /* ==========================================================================
     Project Overview Page Styles
     ========================================================================== */
  
     /* Side panel layout styles */
  .content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    flex: 1;
    margin: 0 auto;
    position: relative;
    padding: 0px;
  }

  .toc-content.active {
    display: block;
    padding: 12px 0px 42px 0px;
  }
  
  @media screen and (min-width: 900px) {
    .content-layout {
      grid-template-columns: 390px 1fr;
      padding-bottom: 30px;
    }
  }
  
  /* Side panel styles */
  .side-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }
  
  @media screen and (min-width: 900px) {
    .side-panel {
      width: 390px;
    }
  
    .side-panel-sticky {
      position: sticky;
      top: 24px;
      height: calc(100vh - 48px);
    }
  }
  
  .side-panel .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    margin-bottom: 24px;
  }
  
  .side-panel .control-label {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-foreground);
  }
  
  .section-main-page {
    border-top: 1px solid var(--color-background-brighter);
    padding: 0;

  }
  
  /* Content container adjustments */
  .content-container {
    flex: 1;
    min-width: 0;
    margin: 2rem auto;
  }
  
  /* Table of contents dropdown styles */
  .toc-dropdown {
    display: flex;
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-background-brighter);
    color: var(--color-foreground);
    text-align: left;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    align-items: center;
    justify-content: space-between;
  }
  
  .toc-dropdown:hover {
    border-color: var(--color-foreground);
  }
  
  .toc-dropdown .dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
    /* Start pointing down */
  }
  
  .toc-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
    /* Rotate to point up when active */
  }
  
  .toc-content .doc-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }
  
  .toc-content .doc-list li {
    margin-bottom: 12px;
  }
  
  .toc-content .doc-list li:last-child {
    margin-bottom: 0;
  }
  
  .toc-content .doc-list a {
    color: var(--color-foreground);
    text-decoration: none;
    opacity: 1;
    transition: all 0.2s ease;
  }
  
  .toc-content .doc-list a:hover {
    color: var(--color-foreground-brighter);
    opacity: 1;
  }
  
  /* Responsive styles for project overview */
  @media screen and (max-width: 899px) {
    .content-layout {
      flex-direction: column;
      padding: 0 12px;
    }
  
    .side-panel {
      width: auto;
    }
  
    .side-panel-sticky {
      position: static;
    }
  
    .toc-dropdown {
      display: flex;
    }
  
    .toc-content {
      display: none;
    }
  
    .toc-content.active {
      display: block;
      padding: 12px 0px 42px 0px;
    }
  
    .mobile-sticky {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--color-background-darker);
      padding: 12px;
      margin: -12px;
    }
  }