
#OurBoard {
    margin-top: 250px;
}

.OurBoard-inner {
    min-height: 800px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* padding: 80px 0; */
    box-sizing: border-box;
}

.OurBoard-title {
    margin-bottom: 50px;
}

/* =========================
   TREE CONTAINER
========================= */
.tree {
    display: flex;
    justify-content: center;
    padding: 0px 20px;
    overflow-x: auto;
 
    overflow-y: hidden;
}

/* =========================
   TREE LISTS (NO WRAP)
========================= */
.tree ul {
    /* padding-top: 20px; */
    position: relative;
    display: flex;
    flex-wrap: nowrap;

    align-items: flex-start;
}

/* =========================
   TREE ITEMS
========================= */
.tree li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    list-style: none;
    position: relative;
    padding: 10px 8px 0;
    flex-shrink: 0;

}

/* =========================
   CONNECTORS
========================= */
.tree li::before,
.tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    width: 50%;
    height: 20px;
    border-top: 2px solid var(--color1);
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid var(--color1);
}

/* only child */
.tree li:only-child::before,
.tree li:only-child::after {
    display: none;
}

/* first child */
.tree li:first-child::before {
    border: none;
}

/* last child level 1 */
.tree>ul>li:last-child::after {
    border-top: none;
    border-left: 2px solid var(--color1);
}

/* nested vertical connector */
.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 20px;
    border-left: 2px solid var(--color1);
    margin-top: -20px;
    /* newcode */
}

/* last child nested */
.tree ul ul li:last-child::after {
    border-top: none;
    border-left: 2px solid var(--color1);
}

/* remove empty */
.tree li.end::before,
.tree li.end::after {
    display: none;
}

/* =========================
   NODE (RESPONSIVE SCALE)
========================= */
.node {
    padding: 16px;
    border-radius: 12px;
    box-sizing: border-box;
    transition: transform 0.2s ease;

    width: clamp(10px, 18vw, 230px);
    
}

/* =========================
   IMAGE
========================= */
.node img {
    width: clamp(60px, 10vw, 110px);
    height: clamp(60px, 10vw, 110px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #eee;
    margin-bottom: 10px;
    margin-left: -10px;
}

/* =========================
   TEXT
========================= */
.role {
    font-size: clamp(8px, 1.2vw, 13px);
    text-transform: uppercase;
    color: var(--color3);

    white-space: nowrap;

}

.name {
    font-size: clamp(12px, 1.8vw, 18px);
    font-weight: bold;
}

/* =========================
   SMALL SCREENS (NO WRAP)
========================= */
@media (max-width: 768px) {
    .tree {
        padding: 30px 10px;
    }
}

