.employees {
    background-color: var(--pure-black);
}

.employees .boxed {
    padding-top: 140px;
    padding-bottom: 80px;
}

.employees .boxed .employees-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 80px;
}

.employees .boxed .function-items h2 {
    color: var(--pure-white);
    margin-bottom: 55px;
}

.employees .boxed .function-items .employees-items .employee .media {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.employees .boxed .function-items .employees-items .employee .media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(188deg, rgba(80, 22, 94, 0.00) 61.93%, rgba(92, 28, 110, 0.90) 85.13%);
    -webkit-mask-image: url("images/mask.png");
    mask-image: url("images/mask.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employees .boxed .function-items .employees-items .employee > .media img {
    -webkit-mask-image: url("images/mask.png");
    mask-image: url("images/mask.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.employees .boxed .function-items .employees-items .employee .info {
    position: absolute;
    z-index: 20;
    bottom: 25px;
    left: 20px;
}

.employees .boxed .function-items .employees-items .employee .info > p, .employees .boxed .function-items .employees-items .employee .mail {
    color: var(--pure-white);
    font-family: Inter-700, sans-serif;
    font-size: 22px;
    line-height: normal;
    text-decoration: none;
}

.employees .boxed .function-items .employees-items .employee .info > p {
    margin-bottom: 0;
}

/*.employees .boxed .function-items .employees-items .employee .mail {*/
/*    margin-bottom: 0;*/
/*}*/

.employees .boxed .function-items .employees-items .employee p > a {
    color: var(--pure-white);
}

.employees .boxed .function-items .employees-items .employee .rows {
    background-color: var(--rich-purple);
    padding: 30px 30px 60px 30px;
    border-radius: 16px;
}

.employees .boxed .function-items .employees-items .employee .rows .row p, .employees .boxed .function-items .employees-items .employee .rows .row a {
    color: var(--pure-white);
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.employees .boxed .function-items .employees-items .employee .rows .row > p.heading {
   font-family: Roboto-600, sans-serif;
}

@media (max-width: 1024px) {
    .employees .boxed .employees-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .employees .boxed {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .employees .boxed .employees-items {
        grid-template-columns: repeat(1, 1fr);
        padding-bottom: 0;
    }
}
