.team_title {
    font-size: var(--size-40);
    font-weight: 600;
    text-align: center;
}

.rada_block {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 25px;

}

.rada_member {
    width: calc((100% - 50px) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FEFEFE;
    box-shadow: 1px 1px 5px rgba(14, 30, 40, 0.2); /* x=1, y=1, размытие=5px */
    transition: 0.3s ease-out;
}

.rada_member_img {
    width: 100%;
    min-height: 214px;
    position: relative;
    overflow: hidden;
    
}

.rada_member img {
    width: 100%;
    object-fit: cover;
    background-position: center;
    transition: 0.3s ease-out;
    aspect-ratio: 1 / 1 !important;
}

.rada_member:hover {
    cursor: pointer;
    box-shadow: 1px 1px 5px rgba(14, 30, 40, 0.5); /* x=1, y=1, размытие=5px */

}

.rada_member:hover .rada_member_img > img {
    transform: scale(1.1); /* Increases size by 10% */
}

.rada_member_bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    gap: 10px;
}

.team_member_title {
    font-size: var(--size-30);
    font-weight: 600;
    margin-bottom: 0;
}

.rada_member_bottom p {
    text-align: center;
}

.team {
    margin-top: 50px;
    margin-bottom: 50px;
}

.team_block {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 25px;
}


.team_member {
    width: calc((100% - 50px) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FEFEFE;
    box-shadow: 1px 1px 5px rgba(14, 30, 40, 0.2); /* x=1, y=1, размытие=5px */
    transition: 0.3s ease-out;
    position: relative;
}

.team_member_img {
    width: 100%;
    min-height: 214px;
    position: relative;
    overflow: hidden;
}

.team_member img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-position: center;
    transition: 0.3s ease-out;
    aspect-ratio: 2/3;
}

.team_member:hover {
    cursor: pointer;
    box-shadow: 1px 1px 5px rgba(14, 30, 40, 0.5); /* x=1, y=1, размытие=5px */

}

.team_member:hover .team_member_img > img {
    transform: scale(1.1); /* Increases size by 10% */
}

.team_member_bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    gap: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #FEFEFE;
}


@media screen and (max-width: 920px) {
    .rada_member, .team_member {
        width: calc((100% - 50px) / 2);
    }
}


@media screen and (max-width: 720px) {
    .rada_member, .team_member {
        width: 100%;
    }

    h3, .team_member_title {
        line-height: normal !important;
    }
}


@media screen and (max-width: 400px) {
    .team_member_title {
        font-size: 25px !important;
    }
}