.masfuturo-staff-grid-wrapper {
	--mf-staff-primary: #004b75;
	--mf-staff-secondary: #556070;
	--mf-staff-bg-drawer: #f4f7f9;
	--mf-staff-card-bg: transparent;
	--mf-staff-active-color: #004b75;
	
	width: 100%;
	position: relative;
	box-sizing: border-box;
}

/* Grilla Contenedor */
.masfuturo-staff-grid-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px 20px;
	width: 100%;
	box-sizing: border-box;
}

/* Tarjeta individual de Staff */
.masfuturo-staff-card {
	flex: 0 0 calc(25% - 15px);
	max-width: calc(25% - 15px);
	box-sizing: border-box;
	cursor: pointer;
	text-align: center;
	padding: 15px 10px;
	border-radius: 12px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
	user-select: none;
	position: relative;
}

.masfuturo-staff-card:hover {
	transform: translateY(-4px);
}

.masfuturo-staff-card.is-active {
	background-color: var(--mf-staff-card-bg);
}

.masfuturo-staff-card.is-active .masfuturo-staff-name {
	color: var(--mf-staff-active-color);
}

.masfuturo-staff-card.is-active .masfuturo-staff-photo img {
	box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2);
}

/* Foto con esquinas suaves (Estilo redondeado como en referencia) */
.masfuturo-staff-photo {
	width: 100%;
	max-width: 220px;
	aspect-ratio: 1 / 1;
	margin: 0 auto 16px auto;
	border-radius: 36% 36% 36% 36% / 36% 36% 36% 36%;
	overflow: hidden;
	background-color: #e2e8f0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masfuturo-staff-card:hover .masfuturo-staff-photo {
	transform: scale(1.02);
}

.masfuturo-staff-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: filter 0.3s ease;
}

/* Textos de Tarjeta */
.masfuturo-staff-name {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--mf-staff-primary);
	margin: 0 0 6px 0;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.masfuturo-staff-cargo {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--mf-staff-secondary);
	margin: 0;
	line-height: 1.4;
}

/* Drawer / Cajón de Contenido Desplegable */
.masfuturo-staff-drawer {
	width: 100%;
	flex: 0 0 100%;
	background-color: var(--mf-staff-bg-drawer);
	border-radius: 8px;
	box-sizing: border-box;
	overflow: hidden;
	display: none;
	position: relative;
	margin-top: 15px;
	margin-bottom: 15px;
	box-shadow: inset 0 2px 8px rgba(0,0,0,0.03);
	transition: opacity 0.3s ease;
}

.masfuturo-staff-drawer-inner {
	padding: 30px 40px;
	position: relative;
	color: #334155;
	font-size: 0.95rem;
	line-height: 1.7;
}

.masfuturo-staff-drawer-close {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--mf-staff-close-bg, rgba(0, 75, 117, 0.08));
	border: none;
	color: var(--mf-staff-close-color, #004b75);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 5;
	outline: none;
	padding: 0;
}

.masfuturo-staff-drawer-close svg {
	width: 14px;
	height: 14px;
	stroke-width: 2.2px;
	transition: transform 0.25s ease;
}

.masfuturo-staff-drawer-close:hover {
	background-color: var(--mf-staff-close-hover-bg, #004b75);
	color: var(--mf-staff-close-hover-color, #ffffff);
	box-shadow: 0 4px 12px rgba(0, 75, 117, 0.25);
}

.masfuturo-staff-drawer-close:hover svg {
	transform: rotate(90deg);
}

.masfuturo-staff-drawer-content {
	width: 100%;
}

.masfuturo-staff-drawer-content p {
	margin-bottom: 1rem;
}

.masfuturo-staff-drawer-content p:last-child {
	margin-bottom: 0;
}

/* Responsivo: Tablet y Móvil */
@media (max-width: 991px) {
	.masfuturo-staff-card {
		flex: 0 0 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}
}

@media (max-width: 600px) {
	.masfuturo-staff-grid-container {
		gap: 20px 0;
	}
	.masfuturo-staff-card {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.masfuturo-staff-drawer-inner {
		padding: 20px 24px;
	}
}
