@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

*, *::before, *::after { box-sizing: border-box; }
body.ba-pre-body {
	margin: 0;
	background: linear-gradient(165deg, #f0f4ff 0%, #fefce8 40%, #fdf4ff 100%);
	color: #1e293b;
	font-family: "DM Sans", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
body.ba-pre-body #wpadminbar { display: none !important; }
.ba-pre-outer { min-height: 100vh; }

.bla-x3 {
	max-width: 720px;
	margin: 0 auto;
	padding: 28px 18px 96px;
	--ac: #6366f1;
	--ac2: #4f46e5;
}
.bla-x3__ad {
	background: #fff;
	border: 1px solid rgba(99,102,241,0.2);
	border-radius: 14px;
	padding: 14px 18px;
	margin-bottom: 22px;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #475569;
	box-shadow: 0 6px 28px rgba(15,23,42,0.06);
}
.bla-x3__ad strong { color: #b45309; font-weight: 700; }
.bla-x3__ad a { color: var(--ac2); font-weight: 600; text-decoration: none; border-bottom: 1px dashed currentColor; }
.bla-x3__ad a:hover { color: #4338ca; }

.bla-x3__hero {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(148,163,184,0.25);
	box-shadow: 0 20px 48px rgba(15,23,42,0.08);
	margin-bottom: 24px;
}
.bla-x3__hero img { width: 100%; height: min(240px, 38vw); object-fit: cover; display: block; }
.bla-x3__hero-in { padding: 24px 22px 28px; }
.bla-x3__kicker {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ac);
	display: inline-block;
	margin-bottom: 10px;
}
.bla-x3 h1 {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.65rem, 4.2vw, 2.2rem);
	line-height: 1.18;
	margin: 0 0 12px;
	color: #0f172a;
}
.bla-x3__lead { margin: 0; font-size: 1.05rem; line-height: 1.62; color: #475569; }

.bla-x3__scan {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
	gap: 12px;
	margin: 22px 0;
}
.bla-x3__scan > div {
	background: rgba(255,255,255,0.92);
	padding: 16px;
	border-radius: 12px;
	border: 1px solid rgba(148,163,184,0.22);
	font-size: 0.88rem;
	line-height: 1.45;
	color: #334155;
}
.bla-x3__scan b { display: block; color: var(--ac2); font-size: 0.72rem; letter-spacing: 0.08em; margin-bottom: 6px; text-transform: uppercase; }

.bla-x3__blocks { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 20px; }
.bla-x3__block {
	background: #fff;
	border-radius: 14px;
	padding: 18px 20px;
	border: 1px solid rgba(148,163,184,0.2);
	box-shadow: 0 8px 24px rgba(15,23,42,0.04);
}
.bla-x3__block h2 { font-family: "Fraunces", serif; font-size: 1.05rem; margin: 0 0 8px; color: #0f172a; }
.bla-x3__block p { margin: 0; font-size: 0.9rem; line-height: 1.62; color: #64748b; }

.bla-x3__mid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 22px 0;
}
.bla-x3__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none !important;
	border: none;
	transition: transform 0.15s ease, box-shadow 0.15s;
	font-family: inherit;
}
.bla-x3__btn--fill {
	color: #fff !important;
	background: linear-gradient(135deg, var(--ac), var(--ac2));
	box-shadow: 0 8px 24px rgba(79,70,229,0.28);
}
.bla-x3__btn--outline {
	color: var(--ac2) !important;
	background: #fff;
	border: 2px solid rgba(99,102,241,0.35);
}
.bla-x3__btn:hover { transform: translateY(-2px); }

.bla-x3__cta {
	margin-top: 28px;
	text-align: center;
	padding: 28px 20px;
	background: #fff;
	border-radius: 18px;
	border: 1px solid rgba(148,163,184,0.25);
	box-shadow: 0 16px 40px rgba(15,23,42,0.07);
}
.bla-x3__cta p { margin: 0 0 14px; font-size: 0.84rem; color: #64748b; max-width: 34ch; margin-left: auto; margin-right: auto; line-height: 1.55; }
.bla-x3__cta .bla-x3__btn--fill { padding: 16px 32px; font-size: 0.94rem; }
.bla-x3__fine { margin-top: 14px; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; }

.bla-x3--outschool { --ac: #0891b2; --ac2: #0e7490; }
.bla-x3--edx { --ac: #1d4ed8; --ac2: #1e40af; }
.bla-x3--elite { --ac: #7c3aed; --ac2: #6d28d9; }

@media (max-width: 480px) {
	.bla-x3__mid { flex-direction: column; align-items: stretch; }
}
