.teach-item {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding-top: 50px;
	cursor: pointer;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

.teach-item:hover .info .photo {
	width: 110px;
	height: 110px;
	transform-origin: 50% 50%;
}

.teach-item .info .photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
	position: absolute;
	top: -50px;
	left: 50%;
	transform: translateX(-50%);
	transition: all 0.3s ease-in-out;
}

.teach-item .info {
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	position: relative;
	padding-top: 70px;
	border-radius: 6px;
	background-image: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%);
}

.teach-item .info .photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
        background: #dadada;
}

.teach-item .info .name ul {
	display: flex;
	justify-content: center;
	gap: 10px;
	color: white;
}

.teach-item .info .info-text {
	box-sizing: border-box;
	padding: 20px;
	color: white;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 200px;
}

.teach-item:after {
	content: attr(data-title);
	position: absolute;
	width: 100%;
	bottom: 0;
	border-radius: 6px;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 10px;
	height: calc(100% - 120px);
	pointer-events: none;
	transform: translateX(100%);
	transition: all 0.3s ease-in-out;
}

.teach-item:hover::after {
	transform: translateX(0);
}

.teach-item .info .info-text .content {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	line-clamp: 4;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

@media screen and (max-width: 1200px) {
	#app .col-3 {
		width: 100%;
	}
}