/*
Theme Name: Hello Elementor Child - Team Widget Only
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Minimal child theme package with only the Team Information Elementor widget.
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: mmc-coins
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/


.mm-team-info__grid {
	display: grid;
}

.mm-team-info__card {
	display: flex;
	flex-direction: column;
}

.mm-team-info__card-content {
	display: flex;
	flex-direction: column;
}

.mm-team-info__media {
	overflow: hidden;
	width: 100%;
}

.mm-team-info__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mm-team-info__open {
	cursor: pointer;
	transition-property: color, background-color, border-color, box-shadow, transform;
	transition-timing-function: ease;
	max-width: 100%;
}

.mm-team-info__dialog {
	position: fixed;
	border: 0;
	padding: 24px;
	max-width: min(720px, calc(100% - 40px));
	width: 100%;
	box-sizing: border-box;
	overflow: visible;
	margin: auto;
	inset: 0;
}

.mm-team-info__dialog::backdrop {
	background-color: rgba(0, 0, 0, 0.6);
}

.mm-team-info__close {
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(42%, -42%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50px !important;
	background-color: #000000;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	line-height: 1;
	padding: 0 0 2px;
	cursor: pointer;
	z-index: 20;
	appearance: none;
	background-color: #111111 !important;
	/*box-shadow: 0 0 0 3px rgba(74, 235, 221, 0.95), 0 4px 12px rgba(0, 0, 0, 0.4);*/
}

.mm-team-info__close:hover,
.mm-team-info__close:focus {
	background-color: var(--e-global-color-primary) !important;
	color: #ffffff !important;
}

.mm-team-info__dialog-body {
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	overflow-x: hidden;
}

.mm-team-info__popup-layout {
	display: grid;
	grid-template-columns: minmax(120px, 35%) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	width: 100%;
	max-width: 100%;
}

.mm-team-info__popup-media {
	overflow: hidden;
	width: 100%;
	max-width: 280px;
}

.mm-team-info__popup-media .mm-team-info__img {
	height: auto;
	aspect-ratio: 1 / 1;
}

.mm-team-info__popup-title {
	margin: 0 0 16px;
}

.mm-team-info__popup-content {
	min-width: 0;
}

@media (max-width: 900px) {
	.mm-team-info__popup-layout {
		grid-template-columns: 1fr;
	}
}
