.single-team-inner {
	border: 1px solid var(--border-color1);
	box-shadow:  0px 4.4px 20px rgba(19, 16, 34, 0.05);
	border-radius: 22px;
	position: relative;
	margin-bottom: 30px;
	.thumb {
		position: relative;
		border-radius: 22px;
		overflow: hidden;
        img {
            transform: scale(1.05);
            transition: 0.9s;
        }
		.team-social-inner {
			opacity: 0;
			transition: 0.4s;
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
			bottom: 10px;
			padding: 0 25px !important;
			line-height: 50px;
			li {
				line-height: 1;
			}
		}
	}
	.team-social-inner {
		height: 50px;
		padding: 11px 25px 8px;
		background: #fff;
		border-radius: 50px;
		transition: 0.4s;
		display: inline-block;
		li {
			display: inline-block;
			margin-right: 10px;
			padding-right: 10px;
			font-size: 15px;
			border-right: 1px solid var(--border-color1);
			color: #19352D;
			&:last-child {
				margin-right: 0;
				padding-right: 0;
				border-right: 0;
			}
		}
	}
	.details {
		padding: 20px;
		p {
			margin-bottom: 0;
		}
	}
	&:hover {
		.thumb {
            img {
                transform: scale(1.1);
            }
			.team-social-inner {
				bottom: 20px;
				visibility: visible;
				opacity: 1;
			}
		}
	}

	&.style-2 {
		border-radius: 10px;
		border: 0;
		background: #1d2735b0;
    	padding-top: 50px;
		.thumb {
			border-radius: 10px;
		}
		.details {
			position: absolute;
			right: 0;
			bottom: 0;
			width: 100%;
			padding: 0 20px 0;
			.details-inner {
				border-radius: 10px 10px 0 0 ;
				background: rgba(255,255,255,0.8);
				padding: 20px;
			}
			h5 {
				color: var(--main-color-one);
				&:hover a {
					color: var(--heading-color);
				}
			}
			p {
				color: var(--heading-color);
			}
			.team-social-inner {
				border-radius: 5px;
				height: 40px;
				padding: 6px 15px !important;
			}
		}
	}
	&.style-3 {
		border: 0;
		box-shadow: none;
		.thumb {
			background: #fff;
			padding: 30px;
			.team-social-inner {
				height: auto;
				padding: 0;
				background: transparent;
				border-radius: 0;
				transition: 0.4s;
				display: inline-block;
				li {
					display: inline-block;
					margin-right: 0;
					padding-right: 0;
					font-size: 15px;
					border-right: 0;
					color: #fff;
					a {
						height: 35px;
						width: 35px;
						text-align: center;
						line-height: 35px;
						border-radius: 4px 4px 0 0;
						display: inline-block;
						background: var(--main-color-one);
						margin: 0 2px;
						color: #fff !important;
					}
				}
			}
		}
		.details {
			background: #fff;
			margin: 30px;
			margin-top: -60px;
			position: relative;
			z-index: 2;
			border-radius: 10px;
			padding: 30px;
			box-shadow: $box-shadow;
		}
		&:hover {
			.thumb {
				.team-social-inner {
					bottom: 35px;
				}
			}
		}
	}
}

.team-details-page {
	.thumb {
		background: #f5f3ef;
		padding: 40px 0 40px 0;
		margin-right: 40px;
		img {
			width: 100%;
			margin-right: -80px;
			background: #f7f7f7;
		}
	}
	.designation {
		color: var(--paragraph-color);
	}
	.social-media {
		li {
			display: inline-block;
			margin-right: 5px;
			a {
				height: 46px;
				width: 46px;
				line-height: 46px;
				border-radius: 0;
				background: var(--heading-color);
				font-size: 16px;
				color: #fff;
				display: inline-block;
				text-align: center;
				&:hover {
					background: var(--main-color-one);
				}
			}
		}
	}
}