.mgpna-widget {
	--mgpna-accent: #00d4e8;
	--mgpna-overlay: #000000;
	width: 100%;
}
.mgpna-widget * { box-sizing: border-box; }

/* === DESKTOP ACCORDION === */
.mgpna-acc-wrap {
	display: flex;
	gap: 8px;
	height: 420px;
	width: 100%;
}
.mgpna-acc-item {
	flex: 1;
	min-width: 70px;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	background-size: cover;
	background-position: center;
	box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.mgpna-acc-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom,
		rgba(0,0,0,0.05) 0%,
		rgba(0,0,0,0.25) 40%,
		rgba(0,0,0,0.65) 75%,
		rgba(0,0,0,0.82) 100%);
	z-index: 1;
}
.mgpna-acc-item.active { flex: var(--mgpna-active-flex, 2.2); }
.mgpna-acc-item.active::before {
	background: linear-gradient(to bottom,
		rgba(0,0,0,0.1) 0%,
		rgba(0,0,0,0.3) 40%,
		rgba(0,0,0,0.75) 75%,
		rgba(0,0,0,0.88) 100%);
}

.mgpna-acc-label {
	position: absolute;
	top: 14px;
	left: 10px;
	z-index: 3;
	white-space: nowrap;
	writing-mode: vertical-lr;
	transform: rotate(180deg);
	padding: 14px 7px;
	border-radius: 6px;
	backdrop-filter: blur(2px);
	transition: opacity 0.3s ease;
}
.mgpna-acc-item.active .mgpna-acc-label { opacity: 0; }

.mgpna-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px 24px;
	color: #fff;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.45s ease;
	pointer-events: none;
}
.mgpna-acc-item.active .mgpna-content {
	opacity: 1;
	pointer-events: all;
}

.mgpna-content h3 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 32px;
	font-weight: 400;
	margin-bottom: 10px;
	line-height: 1.1;
	letter-spacing: 1px;
	color: #fff;
}
.mgpna-content p {
	font-size: 18px;
	line-height: 1.6;
	opacity: 0.92;
	margin-bottom: 18px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mgpna-cta-btn {
	display: inline-block;
	padding: 10px 26px;
	background: rgba(0,0,0,0.45);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	border: 1.5px solid var(--mgpna-accent);
	box-shadow: 0 0 8px rgba(0,212,232,0.5), inset 0 0 6px rgba(0,212,232,0.08);
	cursor: pointer;
	width: fit-content;
	letter-spacing: 0.3px;
	transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.mgpna-cta-btn:hover {
	background: color-mix(in srgb, var(--mgpna-accent) 15%, transparent);
	box-shadow: 0 0 16px rgba(0,212,232,0.75), inset 0 0 10px rgba(0,212,232,0.12);
	color: #fff;
	transform: scale(0.93);
}

/* === MOBILE SLIDER === */
.mgpna-mob-slider { display: none; position: relative; width: 100%; }
.mgpna-mob-track-wrap { overflow: hidden; border-radius: 12px; }
.mgpna-mob-track {
	display: flex;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.mgpna-mob-slide {
	min-width: 100%;
	height: 360px;
	position: relative;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
	cursor: pointer;
}
.mgpna-mob-slide::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom,
		rgba(0,0,0,0.1) 0%,
		rgba(0,0,0,0.35) 40%,
		rgba(0,0,0,0.78) 75%,
		rgba(0,0,0,0.9) 100%);
	z-index: 1;
}
.mgpna-mob-slide .mgpna-content {
	opacity: 1;
	pointer-events: all;
	padding: 20px 18px;
	z-index: 2;
}
.mgpna-mob-slide .mgpna-content h3 {
	font-size: 26px;
	font-family: 'Bebas Neue', sans-serif;
}
.mgpna-mob-slide .mgpna-content p { font-size: 13px; }

.mgpna-mob-arrow {
	position: absolute;
	top: calc(50% - 20px);
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(255,255,255,0.18);
	border: 1px solid rgba(255,255,255,0.45);
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	transition: background 0.2s;
	user-select: none;
}
.mgpna-mob-arrow:hover { background: rgba(255,255,255,0.32); }
.mgpna-mob-arrow.prev { left: 10px; }
.mgpna-mob-arrow.next { right: 10px; }

.mgpna-mob-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}
.mgpna-mob-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.35);
	border: 1px solid rgba(255,255,255,0.6);
	cursor: pointer;
	transition: background 0.25s, transform 0.25s;
}
.mgpna-mob-dot.active {
	background: var(--mgpna-accent);
	border-color: var(--mgpna-accent);
	transform: scale(1.35);
}

/* The actual breakpoint is applied via the .mgpna-is-mobile class (JS),
   so each widget instance can have its own value configured in Elementor. */
.mgpna-widget.mgpna-is-mobile .mgpna-acc-wrap { display: none !important; }
.mgpna-widget.mgpna-is-mobile .mgpna-mob-slider { display: block; }
