/*================ Техническая разметка ================*/


/*========= PRIVATE (Ты мне нужен тут, и больше нигде) =========*/


/* блок - общий для карточек */
.team_slider{display: flex; flex-wrap: wrap;}					


				
/* блок - карточка ссылка */

a.cart_person_main_wrapper{
    margin: 10px;
	display: block;
	position: relative;
	max-width: 272px;
	color: #2E2E2E;
    text-decoration: none;
    border: 1px solid rgba(41, 41, 41, 0.15);
}


.cart_person_main_wrapper{min-width: 272px;}


/* текст заголовка и всплыващей ссылки */

.person_main_content h4{
	font-family: 'OpenSans-Regular';
	position: relative;
	line-height: 1;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 6px;
	font-size: 21px;
}

    
.person_main_content p {
	font-size: 16px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.03em;
	margin-bottom: 0px;
}


.person_main_link {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    font-size: 16px;
	color: #2761d1;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    z-index: 6;
    white-space: nowrap;
	font-family: 'OpenSans-Medium';
}

/* блок для картинки */

.trenery_person_image{
    position: relative;
	background: no-repeat top center / cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding-bottom: 77.5%;
}

/* блок для загаловка */

.person_main_content {
    position: relative;
    padding: 21px 10px;
    min-height: 100px;
}

.person_main_content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(0deg, #FFFFFF 30.21%, rgba(255, 255, 255, 0) 100%);
	background: linear-gradient(0deg, #FFFFFF 30.21%, rgb(255 255 255) 100%);
    z-index: 3;
    opacity: 0;
    visibility: hidden;
}


/* ссылка при наведении на блок - карточка*/

a.cart_person_main_wrapper:hover .person_main_link {
    bottom: 30px;
	bottom: 40px;
    opacity: 1;
    visibility: visible;
}

a.cart_person_main_wrapper:hover .person_main_content:before {
    opacity: 1;
    visibility: visible;
}

