.mg-pa {
	--mg-pa-blue: #0873c5;
	--mg-pa-ink: #082238;
	--mg-pa-muted: #587084;
	background: #f4f7f9;
	color: var(--mg-pa-ink);
	direction: rtl;
	padding: clamp(76px, 9vw, 144px) clamp(20px, 5vw, 80px);
}
.mg-pa *, .mg-pa *::before, .mg-pa *::after { box-sizing: border-box; }
.mg-pa__shell { max-width: 1540px; margin: 0 auto; }
.mg-pa__head {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .72fr);
	gap: clamp(48px, 9vw, 150px);
	align-items: end;
	margin-bottom: clamp(42px, 5vw, 74px);
}
.mg-pa__heading { position: relative; padding-inline-start: 66px; }
.mg-pa__heading::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .8em;
	width: 45px;
	height: 1px;
	background: var(--mg-pa-blue);
}
.mg-pa__eyebrow {
	margin: 0 0 22px;
	color: #416175;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
}
.mg-pa__head h2 {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(42px, 5.6vw, 86px);
	font-weight: 800;
	line-height: 1.24;
	letter-spacing: -.045em;
	text-wrap: balance;
}
.mg-pa__intro {
	margin: 0;
	padding-inline-end: 34px;
	border-inline-end: 2px solid var(--mg-pa-blue);
	color: var(--mg-pa-muted);
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 2.05;
}
.mg-pa__deck {
	direction: ltr;
	display: flex;
	min-height: 680px;
	border: 1px solid #9fb0bc;
	background: #eaf0f4;
	overflow: hidden;
}
.mg-pa__item {
	direction: rtl;
	position: relative;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	flex: .82 1 0;
	min-width: 88px;
	background: #f7f9fa;
	overflow: hidden;
	transition: flex .85s cubic-bezier(.22, 1, .36, 1), background-color .35s ease;
}
.mg-pa__item + .mg-pa__item { border-inline-start: 1px solid #aebdc7; }
.mg-pa__item.is-active { flex: 5.2 1 0; background: #e8eef2; }
.mg-pa__item::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--mg-pa-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 82% center;
	opacity: .18;
	transform: scale(1.06);
	transition: opacity .55s ease, transform 1s cubic-bezier(.22, 1, .36, 1);
}
.mg-pa__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(244,247,249,1) 0, rgba(244,247,249,.98) 46%, rgba(244,247,249,.66) 64%, rgba(244,247,249,.08) 82%);
	opacity: 0;
	transition: opacity .55s ease;
	pointer-events: none;
}
.mg-pa__item.is-active::before { opacity: 1; transform: scale(1); }
.mg-pa__item.is-active::after { opacity: 1; }
.mg-pa__trigger {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	width: 88px;
	padding: 24px 0;
	border: 0;
	background: rgba(247,249,250,.92);
	color: var(--mg-pa-ink);
	cursor: pointer;
}
.mg-pa__trigger span { color: #8799a6; font: 700 12px/1 sans-serif; }
.mg-pa__trigger b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 17px; letter-spacing: .025em; }
.mg-pa__trigger i { color: var(--mg-pa-accent); font: 300 24px/1 sans-serif; font-style: normal; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.mg-pa__item.is-active .mg-pa__trigger { background: var(--mg-pa-accent); color: #fff; }
.mg-pa__item.is-active .mg-pa__trigger span,
.mg-pa__item.is-active .mg-pa__trigger i { color: #fff; }
.mg-pa__item.is-active .mg-pa__trigger i { transform: rotate(45deg); }
.mg-pa__trigger:focus-visible { outline: 3px solid #5bbcf4; outline-offset: -4px; }
.mg-pa__body {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-width: 610px;
	padding: 58px 54px;
	opacity: 0;
	transform: translateX(-25px);
	transition: opacity .35s ease, transform .68s cubic-bezier(.22, 1, .36, 1);
	pointer-events: none;
}
.mg-pa__item.is-before .mg-pa__body { transform: translateX(25px); }
.mg-pa__item.is-after .mg-pa__body { transform: translateX(-25px); }
.mg-pa__item.is-active .mg-pa__body { opacity: 1; transform: none; transition-delay: .22s; pointer-events: auto; }
.mg-pa__body > div {
	max-width: 570px;
	padding: 34px 38px 38px;
	border-inline-end: 3px solid var(--mg-pa-accent);
	background: rgba(244,247,249,.94);
	box-shadow: 0 22px 55px -42px rgba(10,36,54,.55);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}
.mg-pa__body h3 { max-width: 100%; margin: 0 0 18px; color: #071f30; font-size: clamp(34px, 3.55vw, 58px); line-height: 1; text-align: right; white-space: nowrap; letter-spacing: -.06em; }
.mg-pa__body strong { display: block; margin-block-end: 13px; color: #0a2436; font-size: 18px; line-height: 1.7; }
.mg-pa__body p { margin: 0 0 22px; color: #425a69; font-size: 14px; line-height: 1.95; }
.mg-pa__body .mg-pa__kicker { margin-bottom: 14px; color: var(--mg-pa-accent); font-size: 12px; font-weight: 760; }
.mg-pa__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 22px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}
.mg-pa__features li {
	padding: 9px 0;
	border-bottom: 1px solid rgba(88, 112, 132, .28);
	color: #234458;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.55;
}
.mg-pa__body a { display: inline-flex; gap: 14px; padding-block-end: 7px; border-block-end: 1px solid currentColor; color: var(--mg-pa-accent); font-size: 14px; font-weight: 740; text-decoration: none; }
.mg-pa__body a span { transition: transform .25s ease; }
.mg-pa__body a:hover span { transform: translateX(-5px); }

/* Hero refinement based on the generated editorial reference. */
.mg-hero { min-height: min(900px, 90svh); }
.mg-hero__slide { background-position: center; }
.mg-hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 20, 39, .06) 18%, rgba(4, 20, 39, .76) 68%, rgba(4, 20, 39, .94)); z-index: 1; }
.mg-hero__shade { z-index: 1; background: none; }
.mg-hero__body { z-index: 2; max-width: 720px; inset-inline-start: auto; inset-inline-end: clamp(60px, 11vw, 190px); inset-block-end: clamp(180px, 23vh, 255px); }
.mg-hero__title { font-size: clamp(42px, 5.4vw, 78px); max-width: 13ch; line-height: 1.24; letter-spacing: -.045em; }
.mg-hero__explore { border-radius: 2px; padding: 10px 24px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mg-hero__side { inset-block-start: auto; inset-block-end: 72px; inset-inline-end: clamp(24px, 4vw, 70px); transform: none; flex-direction: row; }
.mg-hero__counter { display: none; }
.mg-hero__arrows { flex-direction: row; }
.mg-hero__btn { border-radius: 2px; background: rgba(5, 28, 53, .58); }
.mg-hero__selectors { position: absolute; z-index: 4; inset-inline: clamp(100px, 11vw, 190px) 150px; inset-block-end: 38px; display: grid; grid-template-columns: repeat(var(--mg-hero-count, 3), minmax(0, 1fr)); gap: 0; direction: rtl; }
.mg-hero__selector { min-width: 0; min-height: 74px; border: 0; border-inline-start: 1px solid rgba(255,255,255,.16); background: transparent; color: rgba(255,255,255,.58); text-align: right; padding: 12px 26px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.mg-hero__selector:first-child { border-inline-start: 0; }
.mg-hero__selector b { color: inherit; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-hero__selector span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-hero__selector.is-active { color: #fff; }
.mg-hero__selector.is-active::before { content: ""; width: 8px; height: 8px; border: 2px solid #d9ad68; border-radius: 50%; position: absolute; margin-inline-start: -17px; margin-top: 7px; }
.mg-hero[style*="--mg-hero-count:6"] .mg-hero__selectors { inset-inline: clamp(105px, 9vw, 150px) 215px; }
.mg-hero[style*="--mg-hero-count:6"] .mg-hero__selector { padding-inline: 15px; overflow: hidden; }
.mg-hero[style*="--mg-hero-count:6"] .mg-hero__selector b { font-size: 13px; }
.mg-hero[style*="--mg-hero-count:6"] .mg-hero__selector span { font-size: 10px; }
.mg-hero__progress { z-index: 5; height: 3px; inset-inline: clamp(60px, 4vw, 70px); inset-block-end: 18px; width: auto; background: rgba(255,255,255,.22); }
.mg-hero__progress i { background: #d9ad68; }

@media (max-width: 1100px) {
	.mg-pa__head { grid-template-columns: 1fr; gap: 28px; }
	.mg-pa__head h2 { max-width: 18ch; }
	.mg-pa__intro { max-width: 64ch; }
	.mg-pa__deck { min-height: 590px; }
	.mg-pa__body { min-width: 460px; padding-inline: 34px; }
	.mg-hero__selectors { inset-inline: 80px 120px; }
}
@media (max-width: 900px) {
	.mg-pa { padding-inline: 16px; }
	.mg-pa__heading { padding-inline-start: 0; }
	.mg-pa__heading::before { position: static; display: block; margin-bottom: 18px; }
	.mg-pa__head h2 { font-size: clamp(36px, 11vw, 54px); }
	.mg-pa__intro { padding-inline-end: 18px; }
	.mg-pa__deck { display: block; min-height: 0; }
	.mg-pa__item { display: block; min-width: 0; border-inline-start: 0 !important; border-block-start: 1px solid #b7c6cf; }
	.mg-pa__item:first-child { border-block-start: 0; }
	.mg-pa__trigger { width: 100%; min-height: 76px; padding: 16px 20px; flex-direction: row; }
	.mg-pa__trigger b { writing-mode: horizontal-tb; transform: none; font-size: 16px; }
	.mg-pa__body { display: grid; align-items: end; min-width: 0; max-height: 0; min-height: 0; padding: 0 18px; opacity: 0; overflow: hidden; transform: none; transition: max-height .55s cubic-bezier(.22, 1, .36, 1), opacity .25s ease, padding .55s cubic-bezier(.22, 1, .36, 1); }
	.mg-pa__item.is-active .mg-pa__body { max-height: 920px; min-height: 0; padding-block: 48px 112px; opacity: 1; transition-delay: 0s; }
	.mg-pa__item::after { background: linear-gradient(180deg, rgba(244,247,249,.12), rgba(244,247,249,.9) 44%, #f4f7f9 70%); }
	.mg-pa__body > div { max-width: none; padding: 26px 24px 28px; }
	.mg-pa__body h3 { font-size: 34px; }
	.mg-pa__features { grid-template-columns: 1fr; margin-bottom: 20px; }
	.mg-hero { min-height: 760px; }
	.mg-hero__slide::before { background: linear-gradient(180deg, rgba(4,20,39,.18), rgba(4,20,39,.92) 65%); }
	.mg-hero__body { inset-inline: 22px; inset-block-end: 210px; }
	.mg-hero__title { font-size: clamp(38px, 11vw, 56px); }
	.mg-hero__selectors { inset-inline: 18px; inset-block-end: 52px; overflow-x: auto; display: flex; }
	.mg-hero[style*="--mg-hero-count:6"] .mg-hero__selectors { inset-inline: 18px; }
	.mg-hero__selector { min-width: 170px; padding-inline: 18px; }
	.mg-hero__side { inset-block-end: 148px; inset-inline-end: 20px; }
	.mg-hero__progress { inset-inline: 18px; inset-block-end: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.mg-pa__item, .mg-pa__item::before, .mg-pa__item::after, .mg-pa__trigger i, .mg-pa__body, .mg-pa__body a span { transition: none; }
}

/* Tab-synchronised editorial hero, inspired by Webflow's Tabs Slider pattern. */
.mg-hero--tabs {
	height: min(900px, 90svh);
	min-height: 700px;
	isolation: isolate;
	background: #07131e;
}
.mg-hero--tabs .mg-hero__slide {
	background: var(--img, #0a2e4d);
	transform: none;
	transition: opacity .65s cubic-bezier(.22, 1, .36, 1);
}
.mg-hero--tabs .mg-hero__slide::before {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(5, 14, 22, .42), rgba(5, 17, 28, .85) 62%, rgba(5, 17, 28, .98)),
		linear-gradient(180deg, rgba(3, 13, 22, .34), rgba(3, 13, 22, .72));
}
.mg-hero--tabs .mg-hero__backdrop {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	filter: saturate(.62) contrast(1.04);
	transform: scale(1.045);
	transition: transform 7s linear;
}
.mg-hero--tabs .mg-hero__slide.is-active .mg-hero__backdrop { transform: scale(1); }
.mg-hero--tabs .mg-hero__feature {
	position: absolute;
	z-index: 2;
	left: clamp(34px, 5.5vw, 104px);
	bottom: clamp(86px, 12vh, 126px);
	width: min(50vw, 720px);
	height: clamp(330px, 49vh, 500px);
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 2px;
	box-shadow: 0 35px 90px -45px rgba(0, 0, 0, .78);
	opacity: 0;
	transform: translateX(-28px) scale(.98);
	transition: opacity .55s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
.mg-hero--tabs .mg-hero__slide.is-active .mg-hero__feature {
	opacity: 1;
	transform: none;
}
.mg-hero--tabs .mg-hero__image {
	position: relative;
	inset: auto;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.mg-hero--tabs .mg-hero__feature::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 22, 34, .12), rgba(7, 22, 34, .44));
	pointer-events: none;
}
/* Keep the supplied panoramic course artwork complete, with no face/guide crop. */
.mg-hero--tabs .mg-hero__slide:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) .mg-hero__backdrop {
	display: none;
}
.mg-hero--tabs .mg-hero__feature:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) {
	height: auto;
	aspect-ratio: 12 / 5;
	background: #101c2c;
}
.mg-hero--tabs .mg-hero__feature:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"])::after {
	background: none;
}
.mg-hero--tabs .mg-hero__image[src*="ahvaz-study-club-"],
.mg-hero--tabs .mg-hero__image[data-src*="ahvaz-study-club-"] {
	object-fit: contain;
}
@media (min-width: 901px) {
	.mg-hero--tabs .mg-hero__slide:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) .mg-hero__feature {
		top: 50%;
		bottom: auto;
		width: 44%;
		transform: translateY(-50%);
	}
	.mg-hero--tabs .mg-hero__slide:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) .mg-hero__body {
		right: 6%;
		width: 38%;
	}
	.mg-hero--tabs .mg-hero__slide:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) .mg-hero__title {
		max-width: none;
		font-size: clamp(36px, 4vw, 64px);
		text-wrap: balance;
	}
}
@media (min-width: 601px) and (max-width: 900px) {
	.mg-hero--tabs .mg-hero__feature:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) {
		max-width: 600px;
		margin-inline: auto;
	}
}
@media (max-width: 600px) {
	.mg-hero--tabs .mg-hero__feature:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) {
		right: 22px;
		left: 22px;
	}
	.mg-hero--tabs .mg-hero__slide:has(img[src*="ahvaz-study-club-"], img[data-src*="ahvaz-study-club-"]) .mg-hero__body {
		top: calc(112px + (100vw - 44px) / 2.4);
		bottom: auto;
	}
}
.mg-hero--tabs .mg-hero__shade { display: none; }
.mg-hero--tabs .mg-hero__rail { display: none; }
.mg-hero--tabs .mg-hero__body {
	z-index: 3;
	top: 50%;
	right: clamp(205px, 18vw, 330px);
	bottom: auto;
	left: auto;
	width: min(44vw, 610px);
	max-width: none;
	transform: translateY(-38%);
}
.mg-hero--tabs .mg-hero__meta {
	margin-bottom: 18px;
	gap: 12px;
	font-size: 13px;
	letter-spacing: 0;
}
.mg-hero--tabs .mg-hero__meta b {
	padding: 0;
	color: #d9ad68;
	background: transparent;
	border-radius: 0;
	font-size: 15px;
}
.mg-hero--tabs .mg-hero__rule { width: 46px; height: 1px; background: rgba(217, 173, 104, .9); }
.mg-hero--tabs .mg-hero__title {
	max-width: 12ch;
	margin-bottom: 18px;
	font-size: clamp(42px, 4.5vw, 70px);
	line-height: 1.22;
	letter-spacing: -.055em;
}
.mg-hero--tabs .mg-hero__addr {
	max-width: 52ch;
	margin-bottom: 26px;
	font-size: clamp(14px, 1.25vw, 18px);
	line-height: 1.95;
	color: rgba(255, 255, 255, .84);
}
.mg-hero--tabs .mg-hero__explore {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	min-height: 52px;
	padding: 7px 9px 7px 18px;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 12px;
	background: rgba(255, 255, 255, .10);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 32px rgba(0, 0, 0, .16);
	backdrop-filter: blur(16px) saturate(135%);
	-webkit-backdrop-filter: blur(16px) saturate(135%);
	font-size: 13px;
	letter-spacing: 0;
	white-space: nowrap;
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mg-hero--tabs .mg-hero__explore span {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, .30);
	border-radius: 9px;
	background: rgba(255, 255, 255, .12);
}
.mg-hero--tabs .mg-hero__explore:hover,
.mg-hero--tabs .mg-hero__explore:focus-visible {
	border-color: rgba(217, 173, 104, .88);
	background: rgba(255, 255, 255, .18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 18px 38px rgba(0, 0, 0, .25);
	transform: translateY(-2px);
}
.mg-hero--tabs .mg-hero__explore:focus-visible { outline: 3px solid rgba(217, 173, 104, .72); outline-offset: 4px; }
}
.mg-hero--tabs .mg-hero__selectors {
	top: 50%;
	right: clamp(24px, 4.5vw, 82px);
	bottom: auto;
	left: auto;
	width: 170px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow: visible;
	transform: translateY(-40%);
	direction: rtl;
}
.mg-hero--tabs[style*="--mg-hero-count:6"] .mg-hero__selectors {
	right: clamp(24px, 4.5vw, 82px);
	left: auto;
}
.mg-hero--tabs .mg-hero__selector,
.mg-hero--tabs[style*="--mg-hero-count:6"] .mg-hero__selector {
	position: relative;
	width: 100%;
	min-width: 0;
	min-height: 58px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 2px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	overflow: hidden;
	color: rgba(255, 255, 255, .38);
	background: transparent;
	text-align: right;
	transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .25s ease;
}
.mg-hero--tabs .mg-hero__selector:first-child { border-inline-start: 1px solid transparent; }
.mg-hero--tabs .mg-hero__selector:hover { color: rgba(255, 255, 255, .82); transform: translateX(-3px); }
.mg-hero--tabs .mg-hero__selector.is-active {
	color: #fff;
	border-color: rgba(217, 173, 104, .65);
	background: rgba(6, 27, 43, .56);
}
.mg-hero--tabs .mg-hero__selector.is-active::before { display: none; }
.mg-hero--tabs .mg-hero__selector-num {
	flex: 0 0 34px;
	font-size: 25px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.mg-hero--tabs .mg-hero__selector-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	transform: translateX(10px);
	transition: opacity .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.mg-hero--tabs .mg-hero__selector.is-active .mg-hero__selector-copy { opacity: 1; transform: none; }
.mg-hero--tabs .mg-hero__selector-copy b,
.mg-hero--tabs[style*="--mg-hero-count:6"] .mg-hero__selector-copy b {
	font-size: 12px;
	font-weight: 750;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mg-hero--tabs .mg-hero__selector-copy small {
	display: block;
	font-size: 9px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: rgba(255, 255, 255, .58);
}
.mg-hero--tabs .mg-hero__side {
	top: auto;
	right: auto;
	bottom: clamp(26px, 4vh, 42px);
	left: clamp(34px, 5.5vw, 104px);
	transform: none;
}
.mg-hero--tabs .mg-hero__btn { width: 42px; height: 42px; }
.mg-hero--tabs .mg-hero__progress { right: 0; bottom: 0; left: 0; height: 2px; background: rgba(255, 255, 255, .16); }
.mg-hero--tabs .mg-hero__progress i { background: #d9ad68; }

/* Keep every active system panel readable after switching theme or tab. */
[data-theme="dark"] .mg-pa {
	--mg-pa-ink: #edf5f9;
	--mg-pa-muted: #b5c5cf;
	background: #0b1b27;
}
[data-theme="dark"] .mg-pa__eyebrow { color: #a7c2d3; }
[data-theme="dark"] .mg-pa__deck { border-color: rgba(255, 255, 255, .16); background: #102737; }
[data-theme="dark"] .mg-pa__item { background: #102432; }
[data-theme="dark"] .mg-pa__item + .mg-pa__item { border-inline-start-color: rgba(255, 255, 255, .16); }
[data-theme="dark"] .mg-pa__item.is-active { background: #102b3d; }
[data-theme="dark"] .mg-pa__item::after {
	background: linear-gradient(90deg, rgba(8, 25, 37, .98) 0, rgba(8, 25, 37, .95) 49%, rgba(8, 25, 37, .68) 68%, rgba(8, 25, 37, .12) 87%);
}
[data-theme="dark"] .mg-pa__trigger { background: rgba(16, 36, 50, .96); color: #eaf3f8; }
[data-theme="dark"] .mg-pa__trigger span { color: #9bb1c0; }
[data-theme="dark"] .mg-pa__body > div {
	background: rgba(9, 28, 42, .94);
	box-shadow: 0 26px 64px -36px rgba(0, 0, 0, .84);
}
[data-theme="dark"] .mg-pa__body h3,
[data-theme="dark"] .mg-pa__body strong { color: #f3f8fb; }
[data-theme="dark"] .mg-pa__body p { color: #c0d0da; }
[data-theme="dark"] .mg-pa__features li { border-bottom-color: rgba(191, 214, 227, .22); color: #dbe8ef; }
[data-theme="dark"] .mg-pa__body a { color: #7dcbfb; }
[data-theme="dark"] .mg-pa__item.is-active .mg-pa__trigger { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }

@media (max-width: 900px) {
	[data-theme="dark"] .mg-pa__item { border-block-start-color: rgba(255, 255, 255, .16); }
	[data-theme="dark"] .mg-pa__item::after { background: linear-gradient(180deg, rgba(8,25,37,.10), rgba(8,25,37,.88) 45%, #0b1b27 74%); }
	.mg-hero--tabs .mg-hero__explore { min-height: 44px; padding: 4px 7px 4px 13px; border-radius: 10px; }
}

@media (max-width: 1050px) {
	.mg-hero--tabs .mg-hero__body { right: 190px; width: 47vw; }
	.mg-hero--tabs .mg-hero__feature { left: 30px; width: 54vw; }
	.mg-hero--tabs .mg-hero__title { font-size: clamp(38px, 5.4vw, 58px); }
}

@media (max-width: 900px) {
	.mg-hero--tabs { height: min(850px, 92svh); min-height: 730px; }
	.mg-hero--tabs .mg-hero__slide::before {
		background: linear-gradient(180deg, rgba(4, 16, 26, .42), rgba(4, 16, 26, .96) 65%);
	}
	.mg-hero--tabs .mg-hero__feature {
		top: 88px;
		right: 18px;
		bottom: auto;
		left: 18px;
		width: auto;
		height: 34%;
		transform: translateY(-16px) scale(.98);
	}
	.mg-hero--tabs .mg-hero__body {
		top: auto;
		right: 22px;
		bottom: 172px;
		left: 22px;
		width: auto;
		transform: none;
	}
	.mg-hero--tabs .mg-hero__meta { margin-bottom: 10px; }
	.mg-hero--tabs .mg-hero__title { max-width: 13ch; margin-bottom: 10px; font-size: clamp(32px, 9.2vw, 44px); }
	.mg-hero--tabs .mg-hero__addr { margin-bottom: 14px; font-size: 13px; line-height: 1.75; }
	.mg-hero--tabs .mg-hero__explore { min-height: 40px; }
	.mg-hero--tabs .mg-hero__selectors,
	.mg-hero--tabs[style*="--mg-hero-count:6"] .mg-hero__selectors {
		top: auto;
		right: 16px;
		bottom: 72px;
		left: 16px;
		width: auto;
		display: flex;
		flex-direction: row;
		gap: 7px;
		overflow-x: auto;
		transform: none;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.mg-hero--tabs .mg-hero__selectors::-webkit-scrollbar { display: none; }
	.mg-hero--tabs .mg-hero__selector,
	.mg-hero--tabs[style*="--mg-hero-count:6"] .mg-hero__selector {
		width: 54px;
		min-width: 54px;
		min-height: 50px;
		padding: 0;
		justify-content: center;
		scroll-snap-align: center;
	}
	.mg-hero--tabs .mg-hero__selector-num { flex-basis: auto; font-size: 20px; }
	.mg-hero--tabs .mg-hero__selector-copy { display: none; }
	.mg-hero--tabs .mg-hero__side { right: 16px; bottom: 14px; left: auto; }
	.mg-hero--tabs .mg-hero__arrows { gap: 7px; }
	.mg-hero--tabs .mg-hero__btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.mg-hero--tabs .mg-hero__slide,
	.mg-hero--tabs .mg-hero__backdrop,
	.mg-hero--tabs .mg-hero__feature,
	.mg-hero--tabs .mg-hero__selector,
	.mg-hero--tabs .mg-hero__selector-copy { transition: none; }
}
