.vexur-team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vexur-employee-box {
    position: relative;
    width: 230px;
    height: 340px;
    background-color: #5650c5;
    border: 5px solid #5650c5;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgb(44 38 120 / 78%);
    transition: box-shadow 0.4s;
}

.vexur-employee-box:hover {
    box-shadow: 0 4px 18px rgb(44 38 120);
}

.vexur-employee-box .vexur-p-img {
    width: 100%;
    border-radius: 4px;
}

.vexur-overlay {
    position: absolute;
    top: 333px;
    left: 50%;
    width: 270px;
    height: 270px;
    background: #5650c5;
    color: #fff;
    padding: 10px 10px 110px 10px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 50%;;
    border: 5px solid #5650c5;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.4s, border 0.4s, top 0.4s, box-shadow 0.4s, transform 0.4s;
}

.vexur-employee-box:hover .vexur-overlay {
    background-color: #4d47ba;
    border: 5px solid #4d47ba;
    box-shadow: 0 8px 32px rgba(44, 38, 120, 0.25);
    transform: translate(-50%, -55%);
    transition: background 0.4s, border 0.4s, top 0.4s, box-shadow 0.4s, transform 0.4s;
}

.vexur-overlay .vexur-name {
    font-weight: bold;
    font-size: 22px;
}

.vexur-overlay .vexur-position {
    font-size: 16px;
    color: #c7c4ff;
}

.vexur-employee-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.vexur-employee-icon {
    width: 22px !important;
    height: 22px !important;
    filter: brightness(0) invert(1);
    transition: transform 0.2s;
    padding: 3px;
    border-radius: 5px !important;
    border: 1px solid #fff !important;
}

.vexur-employee-icon:hover {
    transform: scale(1.15);
}

.vexur-info-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
            to bottom,
            rgba(77, 71, 186, 0.80) 0%,
            rgba(77, 71, 186, 1.00) 100%
    );
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.vexur-info-overlay:target {
    display: flex;
}

.vexur-info-content {
    background: #fff;
    color: #222;
    padding: 28px 22px 18px 22px;
    border-radius: 12px;
    max-width: 90vw;
    text-align: center;
    position: relative;
}

.vexur-close-info {
    position: absolute;
    top: 8px; right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    color: #5650c5;
    text-decoration: none;
    cursor: pointer;
}
