/* Team widget — Elementor overrides */

.elementor-widget-beep-team .beep-team-section {
	width: 100%;
}

.elementor-widget-beep-team .beep-team-section .row > [class*="col-"] {
	display: flex;
}

.elementor-widget-beep-team .beep-team-grid > [class*="col-"] {
	display: flex;
}

.elementor-widget-beep-team .beep-team-card {
	height: 100%;
	width: 100%;
}

.elementor-widget-beep-team .beep-team-grid .beep-team-card {
	width: 100%;
}

/* -- Section heading -- */
.elementor-widget-beep-team .beep-section-title-wrapper,
.elementor-widget-beep-team .beep-team-heading-center {
	text-align: center;
}

.elementor-widget-beep-team .beep-section-title-wrapper .beep-section-label,
.elementor-widget-beep-team .beep-team-heading-center .beep-section-label {
	display: inline-block;
}

.elementor-widget-beep-team .beep-section-title-wrapper .beep-section-sub,
.elementor-widget-beep-team .beep-team-heading-center .beep-section-sub {
	display: block;
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	text-wrap: pretty;
}

.elementor-widget-beep-team .beep-team-heading-center .beep-section-sub {
	margin-bottom: 0;
}

.elementor-widget-beep-team .beep-section-title-wrapper .beep-section-sub:last-child {
	margin-bottom: 56px;
}

/* -- Layout 1: compact cards -- */
.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-1"] .beep-team-card:not(.beep-team-card--lg) {
	padding: 32px 24px;
	text-align: center;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-1"] .beep-team-card:not(.beep-team-card--lg) .beep-team-photo {
	--team-ring: 3px;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 16px;
	border: var(--team-ring) solid transparent;
	background: var(--grad);
	padding: var(--team-ring);
	position: relative;
	flex-shrink: 0;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-1"] .beep-team-card:not(.beep-team-card--lg) .beep-team-photo img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-1"] .beep-team-card:not(.beep-team-card--lg) .beep-team-overlay {
	display: none;
}

/* -- Layout 2: profile cards -- */
.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg {
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg .beep-team-photo {
	--team-ring: 0;
	aspect-ratio: 4 / 5;
	width: 100%;
	height: auto;
	max-width: none;
	margin: 0;
	border-radius: 0;
	border: none;
	padding: 0;
	background: none;
	position: relative;
	flex-shrink: 0;
	overflow: hidden;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg .beep-team-photo img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg .beep-team-overlay {
	position: absolute;
	inset: 0;
	border-radius: 0;
	background: rgba(20, 14, 60, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 2;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg:hover .beep-team-overlay {
	opacity: 1;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg .beep-team-info {
	padding: 24px;
	text-align: left;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg .beep-team-role {
	color: var(--orange);
	font-weight: 500;
	display: block;
	margin-bottom: 12px;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg .beep-team-socials {
	justify-content: flex-start;
	margin-top: auto;
	padding-top: 16px;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg .beep-team-bio {
	flex: 1;
}

.elementor-widget-beep-team .beep-team-section[data-beep-team-layout="layout-2"] .beep-team-card--lg:hover .beep-team-photo img {
	transform: scale(1.04);
}
