.teachers_list{
    padding: 0 10px;
    margin: 0 auto;
    width: 100%;
    max-width: 1390px;    
    font-family: 'Open Sans';
    margin-top: -20px;
}   

.teachers_tabs{
    margin-top: 30px;
    margin-bottom: 40px;
    display: flex;
    background: #F3F3F3;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    height: 64px;
} 

.teachers_tab{	
    padding: 0 40px;
    height: 100%;
    line-height: 64px;
    border-radius: 16px;
    cursor: pointer;
    color: #8C8C8C;
}

.teachers_tab.active{
	background: #181818;
    color: #FFFFFF;
}

.teachers_item{
	background: #FFFFFF;
	border: 1px solid rgba(101, 101, 101, 0.09);
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
}

.teachers_info{	
	padding: 28px 32px;
	width: 100%;
}

.teachers_name{
	font-weight: 700;
	font-size: 24px;
	line-height: 140%;
	color: #181818;
	max-width: 300px;
}

.teachers_dolz{	
	font-size: 20px;
	line-height: 140%;
	color: #181818;
	margin-top: 4px;
    margin-bottom: 12px;
    letter-spacing: -0.1px;
}

.teachers_more{
	font-weight: 600;
	font-size: 20px;
	line-height: 140%;
	color: #35A9E3;
}

.teachers_img{
	width: 100%;
}

.teachers_img img{
	max-width: 100%;
	width: 100%;
}

.teachers_list .pagination{
    z-index: 100;
    position: relative;
    margin-top: 32px;
}

.teachers_list .pagination button{
	width: 54px;
	height: 54px;
	padding: 0;	
}

.teachers_list .swiper-pagination-bullets .swiper-pagination-bullet{
	background: transparent;
	border: 1px solid #181818;
	opacity: 1;
}

.teachers_list .swiper-pagination-bullets .swiper-pagination-bullet-active{
	background: #181818 !important;
	border-color: transparent;
}

.modal{
	max-width: 996px;
	padding: 28px;
	border-radius: 24px;
	display: none;
	width: 100%;
}

.modal_body{
	display: flex;
	gap:28px;
}

.modal_img{
	flex-shrink: 0;
}

.modal_img img{
	border-radius: 20px;
	flex-shrink: 0;
	max-width: 100%;
	width: 100%;
}

.modal_info{
	width: 100%;
}

.modal_title{
	font-family: 'Open Sans';
	font-weight: 700;
	font-size: 24px;
	line-height: 140%;
	color: #181818;
}

.modal_dolz{
	margin-top: 4px;
	font-family: 'Open Sans';
	font-size: 16px;
	line-height: 140%;
	color: #767676;
	margin-bottom: 16px;
}

.modal_text{
	font-family: 'Open Sans';
	font-size: 16px;
	line-height: 140%;
	color: #181818;
}

.modal_text p{

}

.modal_text ul{
	margin-bottom: 16px;
	padding-left: 20px;
}

.modal_text li{
	list-style-type: disc !important;
}

.modal_text p + ul{
	margin-top: 4px;
}
@media (max-width: 1024px) {
	.modal{
		max-width: calc(100% - 32px);
	}

	.modal_body{
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.teachers_tabs{
		margin-bottom: 20px;
		height: 44px;
	}

	.teachers_tab{
		line-height: 44px;
		font-size:16px;
	}

	.teachers_img img{
		aspect-ratio: 1;
	    object-fit: cover;
	    object-position: top;
	}

	.teachers_info{
		padding: 20px;
	}

	.teachers_name{
		font-size: 20px;
		max-width: 264px;
	}

	.teachers_dolz, .teachers_more{
		font-size: 16px;
	}

	.modal_img img{
		aspect-ratio: 1 / 0.75;
	    object-fit: cover;
	    object-position: top;
	}

	.modal_title{
		font-size:20px;
	}

	.modal_dolz, .modal_text{
		font-size:14px;
	}
}