.tree-chart-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.tree-chart {
    width: 100%;
    max-width: 1440px;
    margin: 20px auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-person {
    width: 100%;
    font-size: large;
    max-width: 500px;
    height: 100px;
    background-color: #cf2e2e;
    text-align: center;
    line-height: 100px;
    margin-bottom: 100px;
    margin-top: 100px;
    border-radius: 10px;
    position: relative;
    color: #fff;
    font-weight: bold;
    z-index: 2;
}

.persons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    z-index: 1;
}

.person {
    width: 100%;
    max-width: 400px;
    height: 100px;
    background-color: #ff7664;
    text-align: center;
    line-height: 100px;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
    color: black;
    font-weight: bold;
   
}
.person:hover {
    background-color: #f3cd46; 
}

.person-content {
    width: 100%;
    display: none;
    font-weight: normal;
    color: black;
    z-index: 20;
    background-color: #F3CD46;
    position: absolute;
    border-bottom-left-radius: 10px; 
    border-bottom-right-radius: 10px;
    padding: 10px;
}
.person-content a:hover {
    color: #fff;
}

.line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.person-content ul {
  
}

.person-content li {
    font-size: large;
    color: black;
    padding: 10px 10px;
    text-align: left;
    line-height: 1.5;
}

.person-content a {
    color: #000;
    text-decoration: underline;
}
 .box-title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
     line-height: normal;
     font-size: larger;
    padding: 10px;
  }
 .box-title a {
    color: #000;
  }
 .box-title a:hover {
    color: #fff;
  }