.zyre-addon-team-member {
	--grid-column-gap: 5px;
	--grid-row-gap: 0px;
}

.zyre-addon-team-member .elementor-widget-container {
	display: flex;
	flex-wrap: wrap;
}

.zyre-addon-team-member .elementor-widget-container > * {
	width: 100%;
}

.zyre-addon-team-member .zyre-member-figure {
	--photo-space: 0px;
}

.zyre-team-member--photo-left .zyre-member-figure,
.zyre-team-member--photo-right .zyre-member-figure {
	width: auto;
}

.zyre-team-member--photo-above .zyre-member-figure {
	margin-bottom: var(--photo-space) !important;
}

.zyre-team-member--photo-below .zyre-member-figure {
	margin-top: var(--photo-space) !important;
}

.zyre-team-member--photo-left .zyre-member-figure {
	margin-right: var(--photo-space) !important;
}

.zyre-team-member--photo-right .zyre-member-figure {
	margin-left: var(--photo-space) !important;
}

/* Social Icons */
.zyre-addon-team-member .zyre-social-icon-wrapper {
	display: block;
	word-spacing: var(--grid-column-gap);
    margin-bottom: calc(-1 * var(--grid-row-gap));
	line-height: 1;
}

.zyre-addon-team-member .zyre-social-icon {
	display: inline-flex;
	align-items: stretch;
	gap: 6px;
	margin-bottom: var(--grid-row-gap);
	cursor: pointer;
	transition: background var(--zy-transition-duration);
}

.zyre-addon-team-member .zyre-social-icon-holder,
.zyre-addon-team-member .zyre-social-icon-label {
	display: inline-flex;
	align-items: center;
}

.zyre-addon-team-member .zyre-social-icon i,
.zyre-addon-team-member .zyre-social-icon svg {
	flex-shrink: 0;
	transition: var(--zy-transition);
}

.zyre-addon-team-member .zyre-social-icon-label {
	width: 100%;
    line-height: 1;
	font-size: 0.875em;
	word-spacing: normal;
	transition: color var(--zy-transition-duration), border-color var(--zy-transition-duration);
}

/* lightbox */
.zyre-addon-team-member .zyre-member-lightbox {
	z-index: -999999;
}

.zyre-addon-team-member .zyre-member-lightbox.zyre-member-lightbox-show,
.zyre-addon-team-member.zyre-member-lightbox-preview--yes .zyre-member-lightbox {
	z-index: 999999;
	display: flex;
	visibility: visible;
	overflow: auto;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.6);
}

.zyre-addon-team-member .zyre-member-lightbox.zyre-member-lightbox-show .zyre-member-lightbox-close,
.zyre-addon-team-member.zyre-member-lightbox-preview--yes .zyre-member-lightbox .zyre-member-lightbox-close {
	--horizontal-offset: -20px;
	--vertical-offset: 20px;
	--font-size: 32px;
	width: calc(var(--font-size) * 1.2);
	height: calc(var(--font-size) * 1.2);
	position: absolute;
	z-index: 999999;
	display: inline-block;
	color: #8c919b;
	font-size: var(--font-size);
	line-height: 1;
	cursor: pointer;
	transition: var(--zy-transition);
	transform: translate(var(--horizontal-offset), var(--vertical-offset));
}

.zyre-addon-team-member .zyre-member-lightbox.zyre-member-lightbox-show .zyre-member-lightbox-close:hover,
.zyre-addon-team-member.zyre-member-lightbox-preview--yes .zyre-member-lightbox .zyre-member-lightbox-close:hover {
	color: #000000;
}

.zyre-addon-team-member .zyre-member-lightbox.zyre-member-lightbox-show .zyre-member-lightbox-inner,
.zyre-addon-team-member.zyre-member-lightbox-preview--yes .zyre-member-lightbox .zyre-member-lightbox-inner {
	width: 100%;
	animation-name: zyre-lightbox-zoomIn;
	animation-duration: 1s;
	animation-fill-mode: both;
}