    /* Reset and base styling */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      display: flex;
      background: #1e1f29;
      color: #f4f4f4;
      height: 100vh;
      margin: 0;
    }

    /* Sidebar layout */
    .sidebar {
      width: 280px;
      background: #3d3e4f;
      padding: 1.5rem;
      overflow-y: auto;
      border-right: 1px solid #444;
      height: 100vh;
      flex-shrink: 0;
    }

    .sidebar h2 {
      font-size: 1.4rem;
      margin-bottom: 1rem;
      color: #ffd86b;
    }

    .sidebar h2 a:visited {
      text-decoration: none;
      color: #ffd86b;
    }

    ul.menu,
    .submenu {
      list-style: none;
    }

    .menu-title {
      cursor: pointer;
      display: block;
      padding: 0.5rem 0;
      font-weight: bold;
      transition: background 0.2s;
    }

    .menu-title:hover {
      color: #ffd86b;
    }

    .submenu {
      display: none;
      padding-left: 1rem;
      margin-bottom: 0.5rem;
    }

    .submenu.nested {
      background: #2c2e3a;
      padding-left: 1rem;
      margin: 0.25rem 0 0.5rem 1rem;
      border-left: 2px solid #ffd86b;
      border-radius: 4px;
    }

    input:checked + label + .submenu {
      display: block;
    }

    .submenu li a {
      text-decoration: none;
      color: #ccc;
      display: block;
      padding: 0.3rem 0;
      font-size: 0.95rem;
      transition: color 0.2s;
    }

    .submenu li a:hover {
      color: #ffd86b;
    }

    .content {
      width: 1200px;
      height: 100vh;
      overflow-y: auto;
      padding: 2rem;
      background: #2d2e3c;
      flex-shrink: 0;
    }

    .content h2 {
      font-size: 1.8rem;
      color: #ffd86b;
      margin-bottom: 1rem;
    }

    .content p {
      font-size: 1rem;
      color: #ccc;
    }

    .footer {
      width: 100%;
      text-align: center;
      padding: 1px;
      background: #3d3e4f;
      color: #aaa;
      font-size: 9pt;
      border-top: 1px solid #444;
      position: fixed;
      bottom: 0;
      left: 0;
      height: 2%;
    }


  .main-text {
    margin-right: 270px; /* 250px width + 20px gap */
  }

  .wiki-box {
    border: 2px solid #ffd86b; /* same colour as header */
    width: 250px;
    background: #3d3e4f;
    border-radius: 4px;
    font-size: 0.9rem;
    float:right;
  }
  .TextInfo {
    width: 1100px;
    background: #3d3e4f;
    font-size: 0.9rem;
    float:left;
    padding:5px;
  }
  .wiki-box table {
    width: 100%;
    border-collapse: collapse;
  }

  .wiki-box th {
    background-color: #ffd86b;
    color: #1e1f29;
    padding: 0.5rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #1e1f29;
  }

  .wiki-box td {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #555;
    color: #ccc;
  }