.volunteers-card {
	--accent-color: #{$paroti-primary};
	background-color: var(--accent-color);
	padding-left: 40px;
	padding-top: 40px;
	position: relative;

	&__image {
		img {
			max-width: 100%;
		}
	}

	&__title {
		margin: 0;
		font-size: 24px;
		font-weight: 800;
		line-height: 1.25em;
		letter-spacing: -0.04em;
		color: #ffffff;
		margin-top: -6px;
		margin-bottom: 5px;

		a {
			color: inherit;
			@include borderHover;
		}
	}

	&__designation {
		color: #fff;
		font-size: 14px;
		opacity: 0.6;
		margin: 0;
		line-height: 1.2em;
		margin-bottom: 36px;
	}

	&__social {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		position: absolute;
		bottom: 20px;
		left: 20px;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-50px);
		transition: 0.7s ease;

		a {
			width: 40px;
			height: 40px;
			background-color: $paroti-gray;
			border-radius: 50%;
			display: flex;
			justify-content: center;
			align-items: center;
			text-align: center;
			transition: all 0.5s ease;
			font-size: 14px;
			color: $paroti-black;

			&:hover {
				background-color: var(--accent-color);
				color: #ffffff;
			}

			+a {
				margin-left: 10px;
			}
		}
	}

	&:hover &__social {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
	}
}

[class*=col-]:nth-child(2) {
	.volunteers-card {
		--accent-color: #{$paroti-base};
	}
}

[class*=col-]:nth-child(3) {
	.volunteers-card {
		--accent-color: #{$paroti-secondary};
	}

}

[class*=col-]:nth-child(4) {
	.volunteers-card {
		--accent-color: #8139e7;
	}
}

[class*=col-]:nth-child(5) {
	.volunteers-card {
		--accent-color: #ceaa6a;
	}
}

[class*=col-]:nth-child(6) {
	.volunteers-card {
		--accent-color: #2ec58e;
	}
}