.org-chart ul {
      list-style: none;
      padding: 0;
      margin: 20px 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .org-chart li {
      text-align: center;
      position: relative;
      flex: 1 1 200px;
      min-width: 150px;
    }

    .node {
      background-color: #600;
      color: white;
      padding: 10px 15px;
      border-radius: 8px;
      font-weight: bold;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    .org-chart li::before {
      content: '';
      position: absolute;
      top: -20px;
      left: 50%;
      width: 2px;
      height: 20px;
      background: #ccc;
      transform: translateX(-50%);
    }

    .org-chart ul ul::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: #ccc;
    }

    @media (max-width: 768px) {
      .org-chart ul {
        flex-direction: column;
        align-items: center;
      }

      .org-chart li {
        flex: 1 1 100%;
      }
    }