.mentors{
    margin-top: 90px;
    position: relative;
}

.mentors h2{
    margin-bottom: 30px;
    font-family: 'Circe ExtraBold', sans-serif;
    font-weight: 800;
    font-size: 59px;
    color: #ffffff;
    text-align: center;
}

.mentors h3.bg-title{
    width: 100vw;
    font-family: 'Defused-ExtendedBold', sans-serif;
    font-weight: 700;
    font-size: 220px;
    line-height: 100%;
    color: #878787;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.1;
    letter-spacing: 12px;
}

.mentors p{
    font-family: 'Circe Regular', sans-serif;
    font-weight: 800;
    font-size: 25px;
    color: #ffffff;
    text-align: center;
}
.mentors-wrap {
    margin-top: 30px;
    margin-bottom: 30px;
}

@media (min-width: 861px){
    .mentors-wrap {
        margin-top: 30px;
        margin-bottom: 30px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .mentors-wrap .mentor {
        flex: 0 1 calc(25% - 15px); /* 4 в рядок + відступ */
        max-width: 250px;
        position: relative;
        cursor: pointer;
    }
    @media screen and (max-width: 1200px) {
        .mentors-wrap{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
        }
    }
}




.mentors-wrap .mentor img{
    width: 100%;
    filter: grayscale(1);
}

.mentors-wrap .mentor img:hover{
    filter: none;
}

.mentors-wrap .mentor h3{
    position: absolute;
    bottom: 30px;
    margin-bottom: 10px;
    font-family: 'Circe ExtraBold', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

.mentors-wrap .mentor p{
    position: absolute;
    bottom: 10px;
    margin-bottom: 10px;
    font-family: 'Circe Regular', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

.mentors a{
    font-family: 'Circe ExtraBold', sans-serif;
    font-weight: 800;
    font-size: 23px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;

    padding: 20px 9.5vw;
    background-color: #E30613;
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
}

