/*!
Theme Name: SVN Trinity
Theme URI: https://umairdev.com
Author: Umair
Author URI: https://umairdev.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: svn-trinity
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Meet Our Team page: tighter card spacing and headshot-only rollover effect */
#main-team-page .team-grid-section > .container-sec > :not(:last-child) {
	margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
	#main-team-page .team-grid-section > .container-sec > :not(:last-child) {
		margin-bottom: 3rem;
	}
}

#main-team-page .team-cards-grid {
	column-gap: 1.5rem;
	row-gap: 2rem;
}

#main-team-page .team-cards-grid > article {
	padding-bottom: 0;
}

#main-team-page .team-cards-grid > article .block > span {
	display: none;
}

#main-team-page .team-cards-grid > article .block > img {
	filter: grayscale(1) contrast(1.03);
	transform: scale(1);
	transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#main-team-page .team-cards-grid > article > .relative:hover .block > img,
#main-team-page .team-cards-grid > article:focus-within .block > img,
#main-team-page .team-cards-grid > article.is-active .block > img,
#main-team-page .team-cards-grid > article .block:hover > img,
#main-team-page .team-cards-grid > article .block > img:hover {
	filter: grayscale(0);
	transform: scale(1.05);
}

.team-card .team-card-socials {
	pointer-events: none;
}

.team-card:hover .team-card-socials,
.team-card:focus-within .team-card-socials,
.team-card.is-active .team-card-socials {
	opacity: 1;
	--tw-translate-y: 0px;
	translate: var(--tw-translate-x, 0) 0px;
	transform: translateY(0);
	pointer-events: auto;
}

