/* ==========================================================================
   Учебен свят - the blog (home.php = /blog/, the topics and the search; single.php = an article), 08.11
   Listing: a space hero with a 3D book whose pages turn and show the articles (blog-3d.js), the search
   with instant suggestions, then under the clouds the newest article, the topics, the cards, the pages.
   Article: the title and the image in a glowing frame, then a calm reading column (~70 characters a line)
   with a sticky table of contents, a reading progress bar, sharing and the related course.
   The clouds, the crumbs, the facts row, the FAQ chat and the launch panel come from main.css / sections.css.
   ========================================================================== */

.bl [hidden] {
	display: none !important;
}

/* hero (both) ----------------------------------------------------------------------- */
.bl-hero {
	--accent: #ffc845;
	min-height: 0;
	z-index: 5; /* the search suggestions may hang over the clouds into the light page */
	overflow-x: clip;
	overflow-y: visible;
	background:
		radial-gradient(680px 460px at 76% 46%, rgba(255, 240, 210, .1) 0%, rgba(255, 220, 160, .05) 36%, rgba(255, 220, 160, 0) 66%),
		radial-gradient(520px 300px at 30% 8%, rgba(235, 240, 255, .08) 0%, rgba(235, 240, 255, 0) 70%),
		radial-gradient(1100px 720px at 74% 48%, #3c2d9e 0%, rgba(60, 45, 158, 0) 64%),
		radial-gradient(900px 700px at 0% 100%, #552c92 0%, rgba(85, 44, 146, 0) 62%),
		radial-gradient(1000px 640px at 8% 0%, #1f429f 0%, rgba(31, 66, 159, 0) 62%),
		linear-gradient(180deg, #131d63 0%, #1c1868 50%, #2b1b7a 100%);
}

.bl-hero .usv-hero__sky {
	overflow: hidden;
}

/* the white band under the clouds must not hang into the light page (the hero itself is not clipped) */
.bl-hero .usv-hero__clouds {
	clip-path: inset(-400px 0 0 0);
}

.bl-hero .usv-slide__title em {
	color: color-mix(in srgb, var(--accent) 78%, #fff);
}

.bl-hero .usv-hero__aurora--a {
	background: color-mix(in srgb, var(--accent) 30%, #2b1a70);
	opacity: .42;
}

/* a quiet field of stars that twinkles */
.bl-hero__stars {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1.2px 1.2px at 24px 40px, rgba(255, 255, 255, .9), transparent),
		radial-gradient(1px 1px at 120px 160px, rgba(255, 255, 255, .7), transparent),
		radial-gradient(1.6px 1.6px at 210px 80px, rgba(255, 236, 190, .95), transparent),
		radial-gradient(1px 1px at 300px 260px, rgba(200, 210, 255, .8), transparent),
		radial-gradient(1px 1px at 70px 300px, rgba(255, 255, 255, .6), transparent),
		radial-gradient(1.3px 1.3px at 330px 20px, rgba(255, 255, 255, .8), transparent),
		radial-gradient(1px 1px at 170px 230px, rgba(255, 255, 255, .55), transparent);
	background-size: 360px 340px;
	opacity: .5;
	animation: bl-twinkle 6s ease-in-out infinite alternate;
}

@keyframes bl-twinkle {
	from { opacity: .3; }
	to { opacity: .62; }
}

.bl-hero .usv-hero__copy {
	max-width: 640px;
}

/* listing hero ------------------------------------------------------------------------- */
.bl-hero__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	min-height: 0;
	padding-top: calc(var(--header-h) + 26px);
	padding-bottom: 150px;
}

.bl-hero .usv-subcopy .bl-hero__title {
	font-size: clamp(36px, 4vw, 58px);
}

.bl-hero__search {
	position: relative;
	z-index: 6; /* the suggestions above the facts row */
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	max-width: 560px;
	margin-top: 28px;
}

/* the search field: a glass pill; the suggestions open under it */
.bl-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 62px;
	padding: 6px 6px 6px 52px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 44px -22px rgba(6, 4, 30, .7);
	transition: background .3s, border-color .3s, box-shadow .3s;
}

.bl-search:focus-within {
	border-color: color-mix(in srgb, var(--accent) 80%, #fff);
	background: rgba(255, 255, 255, .15);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 26%, transparent), 0 20px 44px -22px rgba(6, 4, 30, .7);
}

.bl-search__ic {
	position: absolute;
	left: 20px;
	top: 50%;
	display: grid;
	color: rgba(255, 255, 255, .72);
	translate: 0 -50%;
}

.bl-search__ic .usv-ic {
	width: 21px;
	height: 21px;
}

.bl-search__in {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font: 600 17px/1.2 var(--font-body);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.bl-search__in::placeholder {
	color: rgba(255, 255, 255, .58);
}

.bl-search__in::-webkit-search-cancel-button {
	filter: invert(1) brightness(1.6);
	cursor: pointer;
}

.bl-search__in:focus-visible {
	outline: none;
}

.bl-search__go {
	flex: none;
	height: 100%;
	padding: 0 26px;
}

.bl-search__pop {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 10px);
	z-index: 30;
	padding: 8px;
	border: 1px solid rgba(29, 18, 69, .08);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 40px 80px -30px rgba(10, 6, 50, .65), 0 6px 16px rgba(10, 6, 50, .15);
	color: var(--ink);
	animation: bl-pop .35s var(--ease-out) both;
}

@keyframes bl-pop {
	from { opacity: 0; transform: translateY(-8px) scale(.98); }
}

.bl-search__list {
	display: grid;
	gap: 2px;
	max-height: min(360px, 52vh);
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
	scrollbar-width: thin;
}

.bl-search__opt {
	display: grid;
	grid-template-columns: 10px minmax(0, 1fr);
	gap: 4px 12px;
	align-items: baseline;
	padding: 10px 14px;
	border-radius: 16px;
	cursor: pointer;
	transition: background .2s;
}

.bl-search__opt i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c);
	translate: 0 -1px;
}

.bl-search__opt b {
	font: 700 15px/1.35 var(--font-display);
}

.bl-search__opt small {
	grid-column: 2;
	color: var(--ink-2);
	font-size: 12.5px;
	font-weight: 700;
}

.bl-search__opt mark {
	padding: 0 1px;
	border-radius: 3px;
	background: #ffe58a;
	color: inherit;
}

.bl-search__opt:hover {
	background: #f4f1ff;
}

.bl-search__opt[aria-selected="true"] {
	background: #e9e4ff;
	box-shadow: inset 3px 0 0 #4545da;
}

.bl-search__all {
	margin: 4px 6px 4px;
	padding: 10px 10px 6px;
	border-top: 1px solid rgba(29, 18, 69, .07);
	color: var(--ink-2);
	font-size: 13.5px;
	font-weight: 700;
}

.bl-search__all:empty {
	display: none;
}

.bl-search__all kbd {
	padding: 1px 6px;
	border: 1px solid #ddd7f5;
	border-radius: 6px;
	background: #f7f5ff;
	font: 700 12px/1.4 var(--font-body);
}

.bl-popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0;
	padding-left: 6px;
	color: rgba(255, 255, 255, .55);
	font-size: 13.5px;
	font-weight: 700;
}

.bl-popular a {
	padding: 4px 11px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	color: rgba(255, 255, 255, .86);
	text-decoration: none;
	transition: background .25s, border-color .25s, color .25s;
}

.bl-popular a:hover {
	border-color: var(--accent);
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.bl-hero .usv-facts {
	margin-top: 26px;
}

/* the book: the WebGL canvas, the still picture before (or without) it, the caption */
.bl-book {
	position: relative;
	align-self: stretch;
	min-height: 470px;
	height: clamp(470px, 42vw, 600px);
	pointer-events: auto;
}

.bl-book__gl {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.2s var(--ease-out);
	/* the halo and the rising letters fade out before the edges of the canvas */
	-webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 10%, #000 100%);
	-webkit-mask-composite: source-in;
	mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 10%, #000 100%);
	mask-composite: intersect;
}

.bl-hero.is-gl .bl-book__gl {
	opacity: 1;
}

.bl-hero.is-gl.is-hover .bl-book__gl {
	cursor: pointer;
}

.bl-book__still {
	position: absolute;
	inset: 0 0 80px;
	display: grid;
	place-items: center;
	transition: opacity .6s;
}

.bl-hero.is-gl .bl-book__still {
	opacity: 0;
	pointer-events: none;
}

.bl-book__glow {
	position: absolute;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 236, 190, .4), rgba(185, 163, 255, .16) 45%, transparent 70%);
}

.bl-book__icon {
	position: relative;
	width: 220px;
	height: auto;
	filter: drop-shadow(0 30px 30px rgba(8, 4, 40, .5));
	animation: usv-bob 5s ease-in-out infinite;
}

.bl-cap {
	position: absolute;
	left: 50%;
	bottom: 4px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 6px;
	width: min(100%, 520px);
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 22px;
	background: rgba(22, 18, 80, .62);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(8, 6, 40, .32);
	translate: -50% 0;
}

.bl-cap__btn {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
	transition: background .25s, transform .35s var(--ease-spring);
}

.bl-cap__btn:hover {
	background: rgba(255, 255, 255, .18);
}

.bl-cap__btn:active {
	transform: scale(.92);
}

.bl-cap__btn .usv-ic {
	width: 19px;
	height: 19px;
}

.bl-cap__link {
	flex: 1;
	min-width: 0;
	padding: 3px 8px;
	border-radius: 14px;
	color: #fff;
	text-decoration: none;
	transition: opacity .3s, translate .45s var(--ease-out);
}

.bl-cap.is-swap .bl-cap__link {
	opacity: 0;
	translate: 0 6px;
}

.bl-cap__link small {
	display: flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, .66);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.bl-cap__link small i {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 10px var(--c);
}

.bl-cap__n {
	margin-left: auto;
	letter-spacing: .04em;
}

.bl-cap__link b {
	display: block;
	margin-top: 3px;
	overflow: hidden;
	font: 700 15.5px/1.3 var(--font-display);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.bl-cap__link:hover b {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--c) 80%, #fff);
	text-underline-offset: 3px;
}

.bl-book.is-empty .bl-book__still {
	inset: 0;
}

/* the list ----------------------------------------------------------------------------- */
.bl-list {
	padding-top: clamp(34px, 4vw, 60px);
	overflow-x: clip;
	background:
		radial-gradient(620px 420px at 96% 12%, rgba(255, 200, 69, .14), transparent 70%),
		radial-gradient(620px 420px at 0% 46%, rgba(185, 163, 255, .16), transparent 70%),
		radial-gradient(560px 380px at 100% 88%, rgba(111, 155, 255, .12), transparent 70%),
		var(--paper);
}

/* the newest article */
.bl-feat {
	--c: #8b6cff;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	margin: 0 0 clamp(40px, 5vw, 64px);
	overflow: hidden;
	border: 1px solid rgba(29, 18, 69, .07);
	border-radius: 38px;
	background: #fff;
	box-shadow: 0 60px 100px -70px color-mix(in srgb, var(--c) 75%, #2a1a7a), 0 4px 14px rgba(29, 18, 69, .05);
	isolation: isolate;
}

.bl-feat__media {
	position: relative;
	display: block;
	min-height: 440px;
	overflow: hidden;
	background: color-mix(in srgb, var(--c) 18%, #f4f1ff);
}

.bl-feat__media img,
.bl-feat__media .bl-noimg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}

.bl-feat:hover .bl-feat__media img {
	transform: scale(1.04);
}

.bl-feat__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: clamp(30px, 3.6vw, 54px) clamp(26px, 3.4vw, 52px);
	background:
		radial-gradient(420px 300px at 100% 0%, color-mix(in srgb, var(--c) 22%, #fff), transparent 70%),
		#fff;
}

.bl-feat__icon {
	position: absolute;
	right: clamp(18px, 2.4vw, 34px);
	top: clamp(18px, 2.4vw, 30px);
	width: clamp(70px, 7vw, 100px);
	height: auto;
	filter: drop-shadow(0 18px 16px color-mix(in srgb, var(--c) 45%, rgba(40, 20, 90, .25)));
	animation: usv-bob 5s ease-in-out infinite;
}

.bl-feat__eyebrow {
	margin: 0;
	padding-right: 110px;
	color: #4545da;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.bl-feat__title {
	margin: 2px 0 0;
	color: var(--ink);
	font: 700 clamp(26px, 2.6vw, 38px)/1.16 var(--font-display);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.bl-feat__title a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
	transition: background-size .5s var(--ease-out);
}

.bl-feat__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bl-feat:hover .bl-feat__title a {
	background-size: 100% 2px;
}

.bl-feat__excerpt {
	margin: 0;
	color: var(--ink-2);
	font-size: 17px;
	line-height: 1.6;
	text-wrap: pretty;
}

.bl-feat__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px dashed rgba(29, 18, 69, .14);
}

.bl-feat__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	color: var(--ink-2);
	font-size: 14px;
	font-weight: 700;
}

.bl-feat__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.bl-feat__meta .usv-ic {
	width: 17px;
	height: 17px;
	color: #4545da;
}

.bl-feat .bl-tag,
.bl-feat .usv-cta {
	position: relative;
	z-index: 2;
}

/* a topic pill (cards, the article) */
.bl-tag {
	--c: #8b6cff;
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px 5px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--c) 17%, #fff);
	color: color-mix(in srgb, var(--c) 32%, var(--ink));
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .02em;
	text-decoration: none;
	transition: background .25s;
}

.bl-tag i {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c);
}

.bl-tag:hover {
	background: color-mix(in srgb, var(--c) 30%, #fff);
}

/* the topics */
.bl-topics {
	margin: 0 0 clamp(34px, 4vw, 52px);
}

.bl-topics__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bl-chip {
	--c: #4545da;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 6px 7px 6px 10px;
	border: 1.5px solid color-mix(in srgb, var(--c) 32%, #fff);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .25s, background .25s, color .25s, box-shadow .35s, transform .4s var(--ease-spring);
}

.bl-chip > .usv-ic {
	width: 22px;
	height: 22px;
	color: #4545da;
}

.bl-chip__ic {
	width: 26px;
	height: 26px;
}

.bl-chip span {
	min-width: 28px;
	padding: 4px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--c) 15%, #fff);
	font-size: 12px;
	text-align: center;
}

.bl-chip:hover {
	border-color: var(--c);
	box-shadow: 0 14px 26px -18px color-mix(in srgb, var(--c) 90%, #1d1245);
	transform: translateY(-2px);
}

.bl-chip.is-on {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
	box-shadow: 0 16px 30px -18px rgba(29, 18, 69, .8);
}

.bl-chip.is-on > .usv-ic {
	color: #ffd84a;
}

.bl-chip.is-on span {
	background: rgba(255, 255, 255, .16);
}

.bl-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	max-width: 760px;
	margin: -16px auto 40px;
	padding: 16px 20px;
	border: 1.5px solid #ffd0e3;
	border-radius: 20px;
	background: #fff6fa;
	color: var(--ink-2);
	font-size: 15.5px;
	font-weight: 600;
}

.bl-note .usv-ic {
	margin-top: 2px;
	color: #d6337a;
}

.bl-list__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin: 0 0 30px;
}

.bl-list__head .usv-h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 42px);
}

.bl-list__count {
	margin: 0;
	color: var(--ink-2);
	font-weight: 700;
}

/* the grid of cards: rows of three (6 columns, a card spans 2; the wider ones 3) */
.bl-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bl-card {
	--c: #8b6cff;
	grid-column: span 2;
	min-width: 0;
}

.bl-card--half {
	grid-column: span 3;
}

.bl-card--half:only-child {
	grid-column: 1 / -1;
}

.bl-card__in {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(29, 18, 69, .07);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 26px 50px -42px rgba(29, 18, 69, .4), 0 2px 6px rgba(29, 18, 69, .03);
	isolation: isolate;
	transition: transform .55s var(--ease-spring), box-shadow .55s, border-color .4s;
}

.bl-card__in:hover,
.bl-card__in:focus-within {
	border-color: color-mix(in srgb, var(--c) 50%, #fff);
	box-shadow: 0 44px 70px -44px color-mix(in srgb, var(--c) 80%, #2a1a7a), 0 2px 6px rgba(29, 18, 69, .03);
	transform: translateY(-6px);
}

.bl-card__in:has(.bl-card__link:focus-visible) {
	outline: 2px solid #4545da;
	outline-offset: 3px;
}

.bl-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: color-mix(in srgb, var(--c) 22%, #f4f1ff);
}

.bl-card--half .bl-card__media {
	aspect-ratio: 16 / 8.6;
}

.bl-card__media img,
.bl-card__media .bl-noimg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ease-out);
}

.bl-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(29, 18, 69, .18));
	pointer-events: none;
}

.bl-card__in:hover .bl-card__media img {
	transform: scale(1.06);
}

.bl-noimg {
	display: block;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .7), transparent 50%),
		linear-gradient(135deg, color-mix(in srgb, var(--c, #8b6cff) 45%, #fff), color-mix(in srgb, var(--c, #8b6cff) 20%, #e9e4ff));
}

.bl-badge {
	position: absolute;
	left: 14px;
	top: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px 6px 9px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background: rgba(29, 18, 69, .62);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .03em;
}

.bl-badge .usv-ic {
	width: 15px;
	height: 15px;
	color: #ffb3d1;
}

.bl-card.is-event .bl-card__media img {
	filter: saturate(.7);
}

.bl-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 22px 18px;
}

.bl-card__title {
	margin: 2px 0 0;
	color: var(--ink);
	font: 700 19.5px/1.3 var(--font-display);
	text-wrap: pretty;
}

.bl-card--half .bl-card__title {
	font-size: clamp(20px, 1.8vw, 24px);
}

.bl-card__link {
	color: inherit;
	text-decoration: none;
}

.bl-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bl-card__link:focus-visible {
	outline: none;
}

.bl-card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.55;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.bl-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: auto 0 0;
	padding-top: 14px;
	border-top: 1px solid rgba(29, 18, 69, .07);
	color: rgba(29, 18, 69, .58);
	font-size: 13px;
	font-weight: 700;
}

.bl-card__go {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-left: auto;
	border-radius: 50%;
	background: color-mix(in srgb, var(--c) 16%, #fff);
	color: var(--ink);
	transition: background .3s, transform .45s var(--ease-spring);
}

.bl-card__go .usv-ic {
	width: 17px;
	height: 17px;
}

.bl-card__in:hover .bl-card__go {
	background: var(--c);
	transform: translateX(3px);
}

/* nothing found */
.bl-empty {
	display: grid;
	justify-items: center;
	gap: 12px;
	max-width: 620px;
	margin: 0 auto;
	padding: 40px 26px 44px;
	border: 1px solid rgba(29, 18, 69, .07);
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 40px 80px -60px rgba(69, 69, 218, .6);
	text-align: center;
}

.bl-empty__img {
	width: 110px;
	height: auto;
	animation: usv-bob 5s ease-in-out infinite;
}

.bl-empty__t {
	margin: 0;
	font: 700 26px/1.2 var(--font-display);
}

.bl-empty p {
	margin: 0 0 8px;
	color: var(--ink-2);
}

.bl-empty a:not(.usv-cta) {
	color: #3346d3;
	font-weight: 800;
}

/* the pages */
.bl-pages {
	margin-top: clamp(40px, 5vw, 60px);
}

.bl-pages ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bl-pages a,
.bl-pages span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 50px;
	height: 50px;
	padding: 0 16px;
	border: 1.5px solid #e3defa;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-weight: 800;
	text-decoration: none;
	transition: border-color .25s, background .25s, transform .4s var(--ease-spring);
}

.bl-pages a:hover {
	border-color: #4545da;
	transform: translateY(-2px);
}

.bl-pages .current {
	border-color: var(--ink) !important;
	background: var(--ink) !important;
	color: #fff !important;
}

.bl-pages .dots {
	border: 0 !important;
	background: none !important;
}

.bl-pages .usv-ic {
	width: 18px;
	height: 18px;
}

.bl-faq {
	padding-top: clamp(40px, 5vw, 70px);
}

/* the article ---------------------------------------------------------------------------- */
.single-post .usv-header__progress {
	display: none; /* the reading bar below follows the text and stays when the header hides */
}

.bl-progress {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 70;
	height: 4px;
	pointer-events: none;
}

.bl-progress i {
	display: block;
	height: 100%;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(90deg, var(--gold), #ff7eb6, #6f9bff);
	box-shadow: 0 0 12px rgba(255, 126, 182, .55);
	transform: scaleX(var(--p, 0));
	transform-origin: 0 50%;
}

.bl-post__inner {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(40px, 5vw, 80px);
	min-height: 0;
	padding-top: calc(var(--header-h) + 32px);
	padding-bottom: 170px;
}

.bl-hero .usv-subcopy .bl-post__title {
	font-size: clamp(32px, 3.3vw, 50px);
	line-height: 1.12;
}

.bl-post__lead {
	max-width: 600px;
	font-size: 18px;
}

.bl-fig {
	position: relative;
	justify-self: end;
	width: min(100%, 560px);
	margin: 0;
	pointer-events: none;
	animation: bl-fig-in 1.2s var(--ease-out) .15s both;
}

@keyframes bl-fig-in {
	from { opacity: 0; transform: translateY(26px) rotate(-2deg) scale(.96); }
}

.bl-fig__glow {
	position: absolute;
	inset: -14% -10%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 42%, transparent), rgba(160, 140, 255, .18) 60%, transparent);
	filter: blur(24px);
}

.bl-fig__frame {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 30px;
	background: color-mix(in srgb, var(--accent) 30%, #2b1d78);
	box-shadow: 0 60px 100px -50px rgba(5, 3, 30, .9), 0 0 0 10px rgba(255, 255, 255, .05);
	rotate: 2deg;
}

.bl-fig__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(140deg, rgba(255, 255, 255, .22), transparent 32%);
	pointer-events: none;
}

.bl-fig__frame img,
.bl-fig__frame .bl-noimg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bl-fig__icon {
	position: absolute;
	left: -44px;
	bottom: -44px;
	width: 124px;
	height: auto;
	filter: drop-shadow(0 22px 20px rgba(8, 4, 40, .5));
	animation: usv-bob 5.5s ease-in-out infinite;
}

/* the reading column and the sticky side */
.bl-read {
	--c: #8b6cff;
	position: relative;
	padding: clamp(30px, 4vw, 56px) 0 clamp(60px, 7vw, 100px);
	background:
		radial-gradient(560px 420px at 100% 6%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%),
		var(--paper);
}

.bl-read__grid {
	display: grid;
	grid-template-columns: minmax(0, 730px) 290px;
	justify-content: center;
	align-items: start;
	gap: clamp(40px, 5vw, 84px);
}

.bl-article {
	grid-row: 1;
	grid-column: 1;
	min-width: 0;
}

.bl-side {
	grid-row: 1;
	grid-column: 2;
	align-self: stretch;
}

.bl-side__in {
	position: sticky;
	top: 104px;
	display: grid;
	gap: 14px;
	max-height: calc(100vh - 124px);
	padding: 2px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.bl-toc {
	overflow: hidden;
	border: 1px solid rgba(29, 18, 69, .08);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 34px 60px -46px rgba(69, 69, 218, .55);
}

.bl-toc__head {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	background: linear-gradient(120deg, #f4f1ff, #fff 80%);
	color: var(--ink);
	text-align: left;
	cursor: pointer;
}

.bl-toc__ring {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
}

.bl-toc__ring svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: #e7e2fb;
	stroke-width: 3;
	transform: rotate(-90deg);
}

.bl-toc__ring .bl-toc__arc {
	stroke: #4545da;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: calc(100 - var(--read, 0) * 100);
	transition: stroke-dashoffset .2s linear;
}

.bl-toc__ring .usv-ic {
	width: 17px;
	height: 17px;
	color: #4545da;
}

.bl-toc__txt {
	display: grid;
	gap: 1px;
}

.bl-toc__t {
	font: 700 16px/1.2 var(--font-display);
}

.bl-toc__txt small {
	color: var(--ink-2);
	font-size: 12.5px;
	font-weight: 700;
}

.bl-toc__chev {
	display: grid;
	margin-left: auto;
	color: var(--ink-2);
	transition: transform .4s var(--ease-out);
}

.bl-toc__head[aria-expanded="false"] .bl-toc__chev {
	transform: rotate(-90deg);
}

.bl-toc__list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 6px 8px 10px;
	list-style: none;
}

.bl-toc__list a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 14px;
	color: var(--ink-2);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.38;
	text-decoration: none;
	transition: background .25s, color .25s;
}

.bl-toc__no {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: -1px;
	border-radius: 50%;
	background: #f1eeff;
	color: #4545da;
	font: 800 11px/1 var(--font-display);
	transition: background .3s, color .3s;
}

.bl-toc__list a:hover {
	background: #f6f4ff;
	color: var(--ink);
}

.bl-toc__list a.is-done .bl-toc__no {
	background: #dcd5ff;
}

.bl-toc__list a.is-on {
	background: color-mix(in srgb, var(--c) 17%, #fff);
	color: var(--ink);
}

.bl-toc__list a.is-on .bl-toc__no {
	background: #4545da;
	color: #fff;
}

.bl-side__box {
	padding: 16px 18px 18px;
	border-radius: 22px;
	background: #f6f4ff;
}

.bl-side__label {
	margin: 0 0 10px;
	color: #4545da;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.bl-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bl-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 18px;
	border: 1.5px solid #e1dcf7;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font: 800 14px/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background .25s, border-color .25s, color .25s, transform .4s var(--ease-spring);
}

.bl-share__btn:hover {
	border-color: #4545da;
	transform: translateY(-2px);
}

.bl-share__btn--fb:hover {
	border-color: #1877f2;
	background: #1877f2;
	color: #fff;
}

.bl-share__btn--viber:hover {
	border-color: #7360f2;
	background: #7360f2;
	color: #fff;
}

.bl-share__btn.is-done {
	border-color: #1fae74;
	background: #1fae74;
	color: #fff;
}

.bl-share__btn .usv-ic {
	width: 19px;
	height: 19px;
}

.bl-share--icons .bl-share__btn {
	width: 46px;
	padding: 0;
}

.bl-share--icons .bl-share__btn span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bl-side__course {
	--c: #ffc845;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	border: 1px solid color-mix(in srgb, var(--c) 40%, #fff);
	border-radius: 22px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--c) 24%, #fff), #fff 80%);
	color: var(--ink);
	text-decoration: none;
	transition: box-shadow .4s, transform .45s var(--ease-spring);
}

.bl-side__course .usv-3d {
	flex: none;
	width: 50px;
	height: 50px;
}

.bl-side__course span {
	display: grid;
	flex: 1;
	min-width: 0;
}

.bl-side__course small {
	color: var(--ink-2);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bl-side__course b {
	font: 700 15px/1.25 var(--font-display);
}

.bl-side__course .usv-ic {
	width: 18px;
	height: 18px;
	transition: transform .35s var(--ease-spring);
}

.bl-side__course:hover {
	box-shadow: 0 24px 40px -28px color-mix(in srgb, var(--c) 90%, #1d1245);
	transform: translateY(-2px);
}

.bl-side__course:hover .usv-ic {
	transform: translateX(3px);
}

/* the notice on a past event */
.bl-event {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0 0 36px;
	padding: 20px 22px;
	border: 1.5px solid #ffcfe2;
	border-radius: 24px;
	background: linear-gradient(135deg, #fff4f9, #fff);
}

.bl-event__img {
	flex: none;
	width: 56px;
	height: auto;
}

.bl-event__t {
	margin: 4px 0 6px !important;
	color: #c42a6e !important;
	font-size: 12px !important;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bl-event p {
	margin: 0;
	color: var(--ink-2);
	font-size: 15.5px;
	line-height: 1.6;
}

.bl-event a {
	color: #3346d3;
	font-weight: 800;
}

/* the text of the article: Nunito, ~70 characters a line, calm rhythm */
.bl-prose {
	max-width: 70ch;
	color: #2b2552;
	font-size: 18.5px;
	line-height: 1.78;
	overflow-wrap: break-word;
	text-wrap: pretty;
}

.bl-prose > * {
	margin: 0;
}

.bl-prose > * + * {
	margin-top: 1.1em;
}

.bl-prose > p:first-child {
	color: var(--ink);
	font-size: 1.1em;
	line-height: 1.7;
}

.bl-prose h2 {
	margin: 2.1em 0 .65em;
	color: var(--ink);
	font: 700 clamp(25px, 2.3vw, 31px)/1.22 var(--font-display);
	letter-spacing: -.01em;
	text-wrap: balance;
	scroll-margin-top: 110px;
}

.bl-prose h2::before {
	content: "";
	display: block;
	width: 46px;
	height: 5px;
	margin-bottom: 16px;
	border-radius: 5px;
	background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, #ff7eb6));
}

.bl-prose > h2:first-child {
	margin-top: 0;
}

.bl-prose h2.is-target {
	animation: bl-flash 1.8s var(--ease-out);
}

@keyframes bl-flash {
	0%, 30% { background: color-mix(in srgb, var(--c) 22%, transparent); }
	100% { background: transparent; }
}

.bl-prose h3 {
	margin: 1.75em 0 .5em;
	color: var(--ink);
	font: 700 21px/1.3 var(--font-display);
	scroll-margin-top: 110px;
}

.bl-prose h4 {
	margin: 1.5em 0 .4em;
	color: var(--ink);
	font: 700 18px/1.35 var(--font-display);
}

.bl-prose h2 + *,
.bl-prose h3 + *,
.bl-prose h4 + * {
	margin-top: 0;
}

.bl-prose strong,
.bl-prose b {
	color: var(--ink);
	font-weight: 800;
}

.bl-prose em {
	font-style: italic;
}

.bl-prose a {
	color: #3346d3;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(51, 70, 211, .35);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: color .2s, text-decoration-color .2s;
}

.bl-prose a:hover {
	color: var(--ink);
	text-decoration-color: currentColor;
}

.bl-prose a.bl-ext::after {
	content: "";
	display: inline-block;
	width: .62em;
	height: .62em;
	margin-left: .22em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .7;
}

.bl-prose ul,
.bl-prose ol {
	padding: 0;
	list-style: none;
}

.bl-prose li + li {
	margin-top: .5em;
}

.bl-prose li > ul,
.bl-prose li > ol {
	margin-top: .5em;
}

.bl-prose ul > li {
	position: relative;
	padding-left: 30px;
}

.bl-prose ul > li::before {
	content: "";
	position: absolute;
	left: 7px;
	top: .68em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent);
}

.bl-prose ol {
	counter-reset: bl-li;
}

.bl-prose ol > li {
	position: relative;
	padding-left: 40px;
	counter-increment: bl-li;
}

.bl-prose ol > li::before {
	content: counter(bl-li);
	position: absolute;
	left: 0;
	top: .2em;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: #efeaff;
	color: #4545da;
	font: 800 13px/27px var(--font-display);
	text-align: center;
}

.bl-prose blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 18px 22px;
	border-left: 4px solid var(--c);
	border-radius: 0 18px 18px 0;
	background: #f7f5ff;
	color: var(--ink);
}

.bl-prose img {
	height: auto;
	border-radius: 20px;
}

.bl-prose figure {
	margin-left: 0;
	margin-right: 0;
}

.bl-prose figcaption {
	margin-top: 8px;
	color: var(--ink-2);
	font-size: 14px;
	text-align: center;
}

/* tables: a soft card that scrolls sideways when the table is wider than the phone (15.11.2026) */
.bl-table {
	max-width: 100%;
	margin: 1.6em 0;
	overflow-x: auto;
	border: 1px solid #ebe7fb;
	border-radius: 16px;
	-webkit-overflow-scrolling: touch;
}

.bl-table:focus-visible {
	outline: 2px solid var(--accent, #ffc845);
	outline-offset: 2px;
}

.bl-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}

.bl-table table {
	margin: 0;
}

.bl-prose th,
.bl-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid #ebe7fb;
	text-align: left;
	vertical-align: top;
}

.bl-prose th {
	background: #f6f4fd;
	color: var(--ink);
	font-weight: 800;
}

.bl-prose tr:last-child td {
	border-bottom: 0;
}

@media (max-width: 640px) {
	.bl-prose table {
		min-width: 560px;
		font-size: 15px;
	}

	.bl-prose th,
	.bl-prose td {
		padding: 9px 10px;
	}
}

.bl-prose hr {
	height: 1px;
	margin: 2.4em 0;
	border: 0;
	background: #e6e1fa;
}

/* the end of the article: topics and sharing */
.bl-article__foot {
	display: grid;
	gap: 24px;
	max-width: 70ch;
	margin-top: 48px;
	padding-top: 30px;
	border-top: 1px solid #ebe7fb;
}

.bl-article__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.bl-article__tags > span {
	margin-right: 4px;
	color: var(--ink-2);
	font-weight: 800;
	font-size: 14px;
}

/* the related course */
.bl-course {
	--c: #8b6cff;
	position: relative;
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	align-items: center;
	gap: 26px;
	margin-top: 48px;
	padding: 30px 32px 30px 24px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--c) 38%, #fff);
	border-radius: 34px;
	background:
		radial-gradient(360px 300px at 0% 0%, color-mix(in srgb, var(--c) 34%, #fff), transparent 70%),
		linear-gradient(160deg, #fff, color-mix(in srgb, var(--c) 10%, #fff));
	box-shadow: 0 60px 90px -70px color-mix(in srgb, var(--c) 95%, #1d1245);
	isolation: isolate;
}

.bl-course__art {
	position: relative;
	display: grid;
	align-self: start;
	place-items: center;
	padding-top: 10px;
}

.bl-course__art i {
	position: absolute;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .6) 38%, rgba(255, 255, 255, 0) 70%);
}

.bl-course__img {
	position: relative;
	width: 150px;
	height: auto;
	filter: drop-shadow(0 24px 20px color-mix(in srgb, var(--c) 45%, rgba(40, 20, 90, .3)));
	animation: usv-bob 5s ease-in-out infinite;
}

.bl-course__kicker {
	margin: 0 0 6px;
	color: #4545da;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bl-course__t {
	margin: 0 0 6px;
	color: var(--ink);
	font: 700 clamp(24px, 2.2vw, 30px)/1.15 var(--font-display);
}

.bl-course__t a {
	color: inherit;
	text-decoration: none;
}

.bl-course__t a:hover {
	text-decoration: underline;
	text-decoration-color: var(--c);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

.bl-course__desc {
	margin: 0 0 14px;
	color: var(--ink-2);
	font-size: 16px;
}

.bl-course__list {
	display: grid;
	gap: 4px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.bl-course__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .7);
	color: var(--ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
	transition: background .25s, padding .35s var(--ease-out);
}

.bl-course__list a span {
	flex: 1;
}

.bl-course__list .usv-ic {
	width: 17px;
	height: 17px;
	color: color-mix(in srgb, var(--c) 55%, var(--ink));
}

.bl-course__list .usv-ic:last-child {
	opacity: .35;
	transition: opacity .25s, transform .35s var(--ease-spring);
}

.bl-course__list a:hover {
	padding-left: 16px;
	background: #fff;
}

.bl-course__list a:hover .usv-ic:last-child {
	opacity: 1;
	transform: translateX(3px);
}

.bl-course__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bl-course__actions .usv-ghost {
	padding: 12px 20px;
}

.bl-course__note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	color: var(--ink-2);
	font-size: 14px;
	font-weight: 700;
}

.bl-course__note .usv-ic {
	width: 17px;
	height: 17px;
	color: #e0a200;
}

.bl-course--all {
	--c: #ffc845;
	grid-template-columns: minmax(0, 1fr);
	padding: 30px 32px;
}

.bl-course__subjects {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.bl-course__subjects a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px 8px 8px;
	border: 1.5px solid color-mix(in srgb, var(--c) 35%, #fff);
	border-radius: 18px;
	background: color-mix(in srgb, var(--c) 10%, #fff);
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 800;
	text-decoration: none;
	transition: border-color .25s, transform .4s var(--ease-spring);
}

.bl-course__subjects .usv-3d {
	width: 36px;
	height: 36px;
}

.bl-course__subjects a:hover {
	border-color: var(--c);
	transform: translateY(-2px);
}

/* the button to the table of contents on phones */
.bl-tocfab {
	position: fixed;
	right: 14px;
	bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 18px 0 15px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(29, 18, 69, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	font: 800 14px/1 var(--font-body);
	box-shadow: 0 18px 34px -14px rgba(29, 18, 69, .7);
	cursor: pointer;
	opacity: 0;
	transform: translateY(140%);
	transition: opacity .35s, transform .5s var(--ease-out);
}

.bl-tocfab.is-on {
	opacity: 1;
	transform: none;
}

.bl-tocfab .usv-ic {
	width: 19px;
	height: 19px;
	color: #ffd84a;
}

.bl-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	z-index: 80;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-weight: 800;
	box-shadow: 0 20px 40px -16px rgba(29, 18, 69, .7);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 16px);
	transition: opacity .3s, transform .45s var(--ease-out);
}

.bl-toast:empty {
	visibility: hidden;
}

.bl-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* more articles, older and newer */
.bl-more {
	padding-top: clamp(50px, 6vw, 90px);
	background:
		radial-gradient(620px 420px at 0% 40%, rgba(185, 163, 255, .16), transparent 70%),
		linear-gradient(180deg, var(--paper), #f7f5ff 40%, #f7f5ff 80%, var(--paper));
}

.bl-more .usv-head {
	margin-bottom: 34px;
}

.bl-more .usv-head__side {
	justify-self: end;
}

.bl-adj {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: clamp(34px, 4vw, 50px);
}

.bl-adj__a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 26px;
	border: 1px solid rgba(29, 18, 69, .08);
	border-radius: 26px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	transition: border-color .3s, box-shadow .4s, transform .45s var(--ease-spring);
}

.bl-adj__a--next {
	grid-column: 2;
	align-items: flex-end;
	text-align: right;
}

.bl-adj__a:hover {
	border-color: #c9c0fb;
	box-shadow: 0 30px 50px -36px rgba(69, 69, 218, .6);
	transform: translateY(-3px);
}

.bl-adj__dir {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #4545da;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bl-adj__dir .usv-ic {
	width: 17px;
	height: 17px;
}

.bl-adj__a b {
	font: 700 17px/1.35 var(--font-display);
}

.bl-launch {
	padding-top: clamp(30px, 4vw, 60px);
	background: var(--paper);
}

/* responsive --------------------------------------------------------------------------- */
@media (max-width: 1279px) {
	.bl-read__grid {
		grid-template-columns: minmax(0, 1fr) 270px;
	}

	.bl-prose {
		font-size: 18px;
	}
}

@media (max-width: 1099px) {
	.bl-hero__inner,
	.bl-post__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		padding-bottom: 140px;
	}

	.bl-hero .usv-hero__copy {
		max-width: 680px;
		margin-top: 0;
	}

	.bl-book {
		width: 100%;
		max-width: 680px;
		height: min(54vw, 440px);
		min-height: 340px;
	}

	.bl-fig {
		justify-self: start;
		width: min(100%, 640px);
	}

	.bl-fig__icon {
		left: auto;
		right: -10px;
		bottom: -36px;
		width: 96px;
	}

	.bl-feat {
		grid-template-columns: minmax(0, 1fr);
	}

	.bl-feat__media {
		min-height: 0;
		aspect-ratio: 16 / 8.5;
	}

	.bl-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.bl-card,
	.bl-card--half {
		grid-column: auto;
	}

	.bl-card--half .bl-card__media {
		aspect-ratio: 16 / 10;
	}

	/* the text first, the table of contents above it as a block that opens */
	.bl-read__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		max-width: 760px;
		margin: 0 auto;
	}

	.bl-side,
	.bl-article {
		grid-column: 1;
		grid-row: auto;
	}

	.bl-side__in {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.bl-side__box,
	.bl-side__course {
		display: none;
	}

	.bl-toc {
		margin-bottom: 34px;
		box-shadow: 0 24px 50px -40px rgba(69, 69, 218, .55);
	}

	.bl-prose,
	.bl-article__foot {
		max-width: none;
	}

	.bl-more .usv-head__side {
		justify-self: start;
	}
}

@media (min-width: 1100px) {
	.bl-tocfab {
		display: none;
	}
}

@media (max-width: 760px) {
	.bl-topics {
		margin-right: -24px;
		margin-left: -24px;
	}

	/* the topics scroll sideways on a phone */
	.bl-topics__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding: 4px 24px 10px;
		overflow-x: auto;
		scroll-padding-inline: 24px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent);
		mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent);
	}

	.bl-topics__list::-webkit-scrollbar {
		display: none;
	}

	.bl-topics__list li {
		scroll-snap-align: start;
	}

	.bl-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.bl-feat {
		border-radius: 28px;
	}

	.bl-feat__media {
		aspect-ratio: 16 / 10;
	}

	.bl-feat__body {
		gap: 12px;
		padding: 24px 20px 22px;
	}

	.bl-feat__icon {
		width: 62px;
		top: -34px;
		right: 14px;
	}

	.bl-feat__eyebrow {
		padding-right: 60px;
		font-size: 12px;
	}

	.bl-feat__excerpt {
		font-size: 16px;
	}

	.bl-feat__foot .usv-cta {
		width: 100%;
	}

	.bl-card__in {
		border-radius: 24px;
	}

	.bl-card__body {
		padding: 18px 18px 16px;
	}

	.bl-card__title,
	.bl-card--half .bl-card__title {
		font-size: 18.5px;
	}

	.bl-list__head {
		margin-bottom: 22px;
	}

	.bl-pages a,
	.bl-pages span.page-numbers {
		min-width: 46px;
		height: 46px;
		padding: 0 14px;
	}

	.bl-pages a.prev span,
	.bl-pages a.next span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.bl-prose {
		font-size: 17.5px;
		line-height: 1.74;
	}

	.bl-prose h2 {
		font-size: 24px;
		scroll-margin-top: 90px;
	}

	.bl-prose h3 {
		font-size: 19.5px;
	}

	.bl-prose ul > li {
		padding-left: 26px;
	}

	.bl-prose ol > li {
		padding-left: 36px;
	}

	.bl-event {
		flex-direction: column;
		gap: 8px;
		padding: 18px;
	}

	.bl-event__img {
		width: 48px;
	}

	.bl-course {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		padding: 24px 20px 24px;
		border-radius: 28px;
	}

	.bl-course__art {
		position: absolute;
		right: 10px;
		top: 6px;
		padding: 0;
	}

	.bl-course__art i {
		width: 120px;
		height: 120px;
	}

	.bl-course__img {
		width: 84px;
	}

	.bl-course__kicker,
	.bl-course__t {
		padding-right: 90px;
	}

	.bl-course__actions .usv-cta,
	.bl-course__actions .usv-ghost {
		flex: 1 1 100%;
		justify-content: center;
	}

	.bl-course--all .bl-course__kicker,
	.bl-course--all .bl-course__t {
		padding-right: 0;
	}

	.bl-course__subjects {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* sharing on a phone: equal buttons in one row, the icon above a short word */
	.bl-article__share .bl-share {
		display: grid;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
	}

	.bl-article__share .bl-share__btn {
		flex-direction: column;
		gap: 5px;
		height: 66px;
		padding: 0 4px;
		border-radius: 18px;
		font-size: 12.5px;
	}

	.bl-share__more {
		display: none;
	}

	.bl-adj {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.bl-adj__a--next {
		grid-column: 1;
	}

	.bl-adj__a {
		padding: 18px 20px;
	}

	.bl-adj__a b {
		font-size: 16px;
	}
}

@media (max-width: 640px) {
	.bl-hero__inner {
		gap: 18px;
		padding-top: calc(var(--header-h) + 14px);
		padding-bottom: 120px;
	}

	.bl-post__inner {
		gap: 34px;
		padding-top: calc(var(--header-h) + 14px);
		padding-bottom: 130px;
	}

	.bl-hero .usv-subcopy .bl-hero__title {
		font-size: clamp(30px, 8.6vw, 38px);
	}

	.bl-hero .usv-subcopy .bl-post__title {
		font-size: clamp(27px, 7.6vw, 34px);
	}

	.bl-post__lead {
		font-size: 16px;
	}

	.bl-hero__search {
		margin-top: 22px;
	}

	.bl-search {
		height: 56px;
		padding-left: 46px;
	}

	.bl-search__ic {
		left: 17px;
	}

	.bl-search__in {
		font-size: 16px;
	}

	.bl-search__go {
		padding: 0 18px;
	}

	.bl-popular {
		padding-left: 2px;
		font-size: 13px;
	}

	.bl-popular span {
		width: 100%;
	}

	.bl-book {
		height: 330px;
		min-height: 0;
		margin: 0 -10px;
		width: auto;
	}

	.bl-cap {
		width: calc(100% - 8px);
	}

	.bl-cap__btn {
		width: 42px;
		height: 42px;
	}

	.bl-cap__link b {
		font-size: 14.5px;
	}

	.bl-book__icon {
		width: 170px;
	}

	.bl-fig__frame {
		border-radius: 24px;
		rotate: 1deg;
	}

	.bl-fig__icon {
		width: 78px;
		right: -6px;
		bottom: -30px;
	}

	.bl-toc__list a {
		padding: 9px 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bl-hero__stars,
	.bl-book__icon,
	.bl-feat__icon,
	.bl-fig__icon,
	.bl-course__img,
	.bl-empty__img {
		animation: none;
	}
}
