/*
 * Bitcoin Club: restyled site.
 * Tokens, header, footer and the home page, from the homepage restyle canvas
 * (Main.dc.html) and docs/page-standards.md. Loads after style.css and uses its
 * own `bx-` class names, so the older store and article rules are not touched.
 *
 * Launch default: light ("Whitepaper"). The dark tokens ("Cold storage") are
 * kept in sync under [data-bc-theme="dark"], but nothing sets that attribute.
 * No switch and no prefers-color-scheme: a stored choice would write to the
 * visitor's device, and the site stores nothing.
 */

/* ---------- Tokens ---------- */

:root {
	--bx-bg: #FFFCF3;
	--bx-bg2: #FAF3E1;
	--bx-band: #F5E7C6;
	--bx-card: #FFFFFF;
	--bx-ink: #222222;
	--bx-muted: #5E574D;
	--bx-copper: #98370A;
	--bx-orange: #F26921;
	--bx-or-lite: #FF8950;
	--bx-or-mid: #DD580D;
	--bx-or-deep: #BF4703;
	--bx-on-orange: #222222;
	--bx-line: rgba(34, 34, 34, 0.12);
	--bx-line2: rgba(34, 34, 34, 0.22);
	--bx-shadow: 0 24px 48px -24px rgba(152, 55, 10, 0.3), 0 2px 6px rgba(34, 34, 34, 0.05);
	--bx-foot: #2B2722;
	--bx-foot-ink: #FAF3E1;
	--bx-foot-muted: #C8BDA6;
	--bx-foot-link: #FF8950;
	--bx-map-a: #EFE2C2;
	--bx-map-b: #FFFCF3;
	--bx-map-bld: #E2D2A8;
	--bx-danger: #C62828;
	--bx-hex: rgba(34, 34, 34, 0.07);
	--bx-hex-em: rgba(34, 34, 34, 0.16);
	--bx-focus: #222222;
	--bx-tint: #FEEADF;
	--bx-live: #276A3F;
	--bx-live-bg: #E4F1E8;

	/* Square corners and flat buttons (page standards). */
	--bx-r-xl: 2px;
	--bx-r-lg: 2px;
	--bx-r-md: 2px;
	--bx-r-sm: 2px;
	--bx-r-xs: 1px;
	--bx-r-dot: 0;

	--bx-gutter: 40px;
	--bx-sec: 112px;
	--bx-sec-first: 80px;
	--bx-nav-h: 140px;

	--bx-sans: 'Sofia Sans Condensed', 'Arial Narrow', system-ui, sans-serif;
	--bx-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

:root[data-bc-theme="dark"] {
	--bx-bg: #121110;
	--bx-bg2: #1A1816;
	--bx-band: #2B2722;
	--bx-card: #222222;
	--bx-ink: #FAF3E1;
	--bx-muted: #C8BDA6;
	--bx-copper: #FF8950;
	--bx-line: rgba(250, 243, 225, 0.12);
	--bx-line2: rgba(250, 243, 225, 0.24);
	--bx-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(250, 243, 225, 0.06);
	--bx-foot: #0B0A09;
	--bx-map-a: #26221D;
	--bx-map-b: #1A1816;
	--bx-map-bld: #332E27;
	--bx-danger: #FF5A5A;
	--bx-hex: rgba(250, 243, 225, 0.05);
	--bx-hex-em: rgba(250, 243, 225, 0.12);
	--bx-focus: #FF8950;
	--bx-tint: #2E1E14;
	--bx-live: #6CC48E;
	--bx-live-bg: #1C2A20;
}

/* The older `--bc-*` properties follow the new palette, so the pages not redesigned yet look consistent. */
:root {
	--bc-line: 2px;
	--bc-beads: none;
}

/* ---------- Base ---------- */

body {
	background: var(--bx-bg);
	color: var(--bx-ink);
	font-family: var(--bx-sans);
	font-size: 19px;
	line-height: 1.5;
}

:where(a, button, input, summary, select, textarea):focus-visible {
	outline: 3px solid var(--bx-focus);
	outline-offset: 3px;
	border-radius: var(--bx-r-xs);
}

.bx-surf-or {
	--bx-focus: #222222;
}

.bx-mono {
	font-family: var(--bx-mono);
	font-variant-numeric: tabular-nums;
}

/* Thousands gap in numbers (975 072). In a monospaced font a space is a full
   character cell, so the gap is an empty span of fixed, narrow width. Copied
   text and screen readers get the plain digits. Only the empty span: the card
   thumbnail container is also called .bx-th and must not shrink to this width.
   The gap is transparent: it resets the orange background, aspect ratio and
   clipping that the thumbnail rule (.bx-th, further down) would give it. */
span.bx-th:empty {
	display: inline-block;
	width: .22em;
	aspect-ratio: auto;
	overflow: visible;
	background: transparent;
}

.bx-wrap {
	max-width: calc(1200px + 2 * var(--bx-gutter));
	margin-inline: auto !important;
	padding-inline: var(--bx-gutter);
	box-sizing: border-box;
}

.bx-eyebrow {
	margin: 0;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bx-copper);
}

.bx-h2 {
	margin: 0;
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 64px;
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.bx-h2 u {
	text-decoration: none;
	background: linear-gradient(var(--bx-orange), var(--bx-orange)) 0 92% / 100% 8px no-repeat;
	padding-bottom: 2px;
}

.bx-lead {
	margin: 0;
	font-size: 22px;
	line-height: 1.45;
	color: var(--bx-muted);
	max-width: 40rem;
}

.bx-more {
	font-weight: 800;
	font-size: 17px;
	color: var(--bx-copper);
	text-decoration: none;
	letter-spacing: 0.02em;
}

.bx-more a {
	color: inherit;
	text-decoration: none;
}

.bx-more:hover,
.bx-more a:hover {
	text-decoration: underline;
}

/* ---------- Buttons: flat, square ---------- */

.bx-b .wp-block-button__link,
a.bx-b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--bx-r-xs);
	box-shadow: none;
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.bx-b--ink .wp-block-button__link,
a.bx-b--ink {
	background: #222222;
	color: #FAF3E1;
}

.bx-b--white .wp-block-button__link,
a.bx-b--white {
	background: #FFFCF3;
	color: #222222;
}

.bx-b--or .wp-block-button__link,
a.bx-b--or {
	background: var(--bx-orange);
	color: #222222;
}

.bx-b--line .wp-block-button__link,
a.bx-b--line {
	background: transparent;
	color: var(--bx-ink);
	box-shadow: inset 0 0 0 2px var(--bx-line2);
}

.bx-b .ar {
	font-family: var(--bx-mono);
	font-weight: 700;
}

@media (hover: hover) {
	.bx-b--or .wp-block-button__link:hover,
	a.bx-b--or:hover {
		background: #FF8950;
		color: #222222;
	}

	.bx-b--ink .wp-block-button__link:hover,
	a.bx-b--ink:hover {
		background: #3A3633;
		color: #FAF3E1;
	}

	.bx-b--white .wp-block-button__link:hover,
	a.bx-b--white:hover {
		background: #FFFFFF;
		color: #222222;
	}

	.bx-b--line .wp-block-button__link:hover,
	a.bx-b--line:hover {
		box-shadow: inset 0 0 0 2px var(--bx-ink);
		color: var(--bx-ink);
		background: transparent;
	}
}

/* ---------- Genesis-block background ---------- */

.bx-gen {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
	font-family: var(--bx-mono);
	color: var(--bx-hex);
	-webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 28%, #000 100%);
	mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 28%, #000 100%);
}

.bx-gen__in {
	width: 100%;
	padding-inline: 2.4vw;
	font-size: 1.74vw;
	line-height: 1.62;
	letter-spacing: 0.04em;
	white-space: pre;
	word-break: normal;
}

.bx-gen__row {
	display: flex;
	justify-content: space-between;
}

.bx-gen__row--strong span:last-child {
	color: var(--bx-hex-em);
}

.bx-hero .bx-gen {
	color: rgba(34, 34, 34, 0.11);
}

.bx-hero .bx-gen__row--strong span:last-child {
	color: rgba(34, 34, 34, 0.24);
}

/* Plain page top: the dump sits on the right and runs off the right edge,
   fading out toward the title on the left. */
.bx-plain-top > .bx-gen {
	inset: 0 auto 0 52%;
	width: 90%;
	overflow: visible;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
	mask-image: linear-gradient(to right, transparent 0%, #000 40%);
}

@media (max-width: 1024px) {
	.bx-plain-top > .bx-gen {
		left: 40%;
	}
}

/* ---------- Header ---------- */

.bx-header {
	position: relative;
	z-index: 20;
	overflow: hidden;
	background: var(--bx-band);
	color: var(--bx-ink);
}

/* On the home page the header lies over the orange hero, which carries the dump. */
body.home .bx-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	overflow: visible;
	background: transparent;
	color: #222222;
	--bx-focus: #222222;
}

body.home .bx-header > .bx-gen {
	display: none;
}

body.admin-bar.home .bx-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.bx-nav {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-block: 22px;
}

.bx-nav > * {
	margin: 0 !important;
}

.bx-nav-l {
	justify-self: start;
}

.bx-nav-l .wp-block-navigation__container {
	gap: 30px;
}

.bx-nav-l a,
.bx-nav-l .wp-block-navigation-item__content {
	padding-block: 4px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
}

.bx-nav-l a:hover {
	box-shadow: 0 3px 0 currentColor;
}

.bx-nav-l a[aria-current="page"],
.bx-nav-l .current-menu-item > a {
	box-shadow: 0 3px 0 var(--bx-orange);
}

.bx-logo {
	justify-self: center;
	line-height: 0;
}

.bx-logo img {
	width: 96px;
	height: auto;
	display: block;
	filter: drop-shadow(0 10px 16px rgba(90, 40, 0, 0.35));
}

.bx-nav-r {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 14px;
}

.bx-nav-r .wp-block-buttons {
	margin: 0;
}

/* Header controls are 4px lower than the page buttons (52px -> 48px, icons 44px -> 40px). */
.bx-nav-r .bx-b .wp-block-button__link {
	min-height: 48px;
}

/* Profile and cart: square 40px icon buttons from the homepage canvas (.ico, flat
   style). Shown only to people who can use the store (inc/store-gate.php).
   WooCommerce prints its own filled SVGs; they are hidden and the canvas stroke
   icons are drawn with a mask so they follow the text color. */
.bx-nav-store {
	gap: 8px;
	align-items: center;
}

.bx-nav-store .wc-block-customer-account__link,
.bx-nav-store .wc-block-mini-cart__button {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	padding: 0;
	box-sizing: border-box;
	border: 0;
	border-radius: 1px;
	background: rgba(255, 252, 243, 0.25);
	color: #222222;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.bx-nav-store .wc-block-customer-account__link::before,
.bx-nav-store .wc-block-mini-cart__button::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--bx-ico) center / contain no-repeat;
	mask: var(--bx-ico) center / contain no-repeat;
}

.bx-nav-store .wc-block-customer-account__link {
	--bx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
}

.bx-nav-store .wc-block-mini-cart__button {
	--bx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 11h10.6l2-8H7'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3C/svg%3E");
}

.bx-nav-store .wc-block-customer-account__account-icon,
.bx-nav-store .wc-block-mini-cart__icon {
	display: none;
}

.bx-nav-store .wc-block-customer-account__link > :not(.wc-block-customer-account__account-icon) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* The member's Nostr picture (assets/js/nostr-avatar.js adds .has-pic and the img) replaces the stroke icon. */
.bx-nav-store .wc-block-customer-account__link.has-pic::before {
	display: none;
}

.bx-nav-store .wc-block-customer-account__link.has-pic > .bc-nostr-pic {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	clip-path: none;
	overflow: visible;
	object-fit: cover;
	border-radius: 1px;
	filter: grayscale(1) contrast(1.2);
	transition: filter 0.7s ease;
}

/* Like the card covers: color on hover or keyboard focus; touch screens keep the grayscale. */
.bx-nav-store .wc-block-customer-account__link.has-pic:focus-visible > .bc-nostr-pic {
	filter: grayscale(0) contrast(1);
}

@media (hover: hover) {
	.bx-nav-store .wc-block-customer-account__link.has-pic:hover > .bc-nostr-pic {
		filter: grayscale(0) contrast(1);
	}
}

.bx-nav-store .wc-block-mini-cart__quantity-badge {
	display: contents;
}

@media (hover: hover) {
	.bx-nav-store .wc-block-customer-account__link:hover,
	.bx-nav-store .wc-block-mini-cart__button:hover {
		background: rgba(255, 252, 243, 0.45);
	}
}

.bx-nav-store .wc-block-customer-account__link:focus-visible,
.bx-nav-store .wc-block-mini-cart__button:focus-visible {
	outline: 2px solid #222222;
	outline-offset: 2px;
}

/* Cart count: a small square tab on the corner of the button. */
.bx-nav-store .wc-block-mini-cart__badge {
	position: absolute;
	inset: -6px -6px auto auto;
	transform: none;
	min-width: 18px;
	height: 18px;
	margin: 0;
	padding: 0 4px;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	border-radius: 1px;
	background: #222222 !important;
	color: #ffffff !important;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.bx-nav-r .bx-b .wp-block-button__link {
	min-height: 44px;
	padding: 0 22px;
	font-size: 16px;
}

/* Home page: the ink button sits on orange. Elsewhere on the ribbon it also stays ink. */

/* ---------- Hero ---------- */

.bx-hero {
	position: relative;
	overflow: hidden;
	background: var(--bx-orange);
	color: #222222;
	padding-bottom: 168px;
	--bx-focus: #222222;
}

.bx-hero a {
	color: inherit;
}

.bx-hero-in {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	padding-top: calc(var(--bx-nav-h) + 64px);
	text-align: center;
}

.bx-hero-in > * {
	margin: 0 !important;
}

.bx-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 36px;
	padding: 0 16px;
	border-radius: var(--bx-r-xs);
	background: rgba(255, 252, 243, 0.3);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bx-chip::before {
	content: "";
	width: 8px;
	height: 8px;
	background: #222222;
}

.bx-h1 {
	margin: 0;
	max-width: 11.5em;
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 112px;
	line-height: 1.04;
	letter-spacing: -0.015em;
	text-wrap: balance;
	color: #222222;
}

.bx-hero-p {
	max-width: 36rem;
	font-size: 23px;
	line-height: 1.45;
	color: #222222;
}

.bx-hero-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

/* ---------- Stats strip (overlaps the hero) and the in-page links ---------- */

/* style.css zeroes the margin of full-width blocks in the page content with four classes, so this needs more. */
body .bc-main .wp-block-post-content.alignfull > .bx-stats-sec.alignfull {
	position: relative;
	z-index: 2;
	margin-top: -104px;
	margin-bottom: 0;
}

.bx-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--bx-card);
	border-radius: var(--bx-r-xl);
	box-shadow: var(--bx-shadow);
}

.bx-stat {
	display: grid;
	gap: 6px;
	padding: 30px 32px;
}

.bx-stat + .bx-stat {
	border-left: 1px solid var(--bx-line);
}

.bx-stat b {
	font-weight: 900;
	font-size: 56px;
	line-height: 0.9;
	letter-spacing: -0.02em;
}

.bx-stat b em {
	font-style: normal;
	color: var(--bx-copper);
}

.bx-stat span {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bx-muted);
}

.bx-jump {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	padding-top: 36px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bx-muted);
}

.bx-jump a {
	color: var(--bx-ink);
	text-decoration: none;
}

.bx-jump a:hover {
	color: var(--bx-copper);
}

/* ---------- Sections ---------- */

.bx-sec {
	padding-block: var(--bx-sec);
}

.bx-sec--alt {
	background: var(--bx-bg2);
}

.bx-sec--first {
	padding-top: var(--bx-sec-first);
}

.bc-main .wp-block-post-content > .bx-sec,
.bc-main .wp-block-post-content > .bx-state,
.bc-main .wp-block-post-content > .bx-map,
.bc-main .wp-block-post-content > .bx-stats-sec {
	margin-block-start: 0;
	margin-block-end: 0;
}

.bx-sec-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 48px;
}

.bx-sec-head > * {
	margin: 0 !important;
}

.bx-sec-head > div {
	display: grid;
	gap: 16px;
}

.bx-sec-head > div > * {
	margin: 0 !important;
}

/* ---------- Events (the server-rendered block, restyled) ---------- */

.bx-events .bc-events__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-events .bc-event {
	display: grid;
	grid-template-columns: 112px 1fr;
	overflow: hidden;
	border: 0;
	border-radius: var(--bx-r-lg);
	background: var(--bx-card);
	box-shadow: var(--bx-shadow);
}

.bx-events .bc-event__date {
	display: grid;
	place-content: center;
	gap: 4px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--bx-band);
	color: var(--bx-ink);
	text-align: center;
}

.bx-events .bc-events__list > .bc-event:first-child .bc-event__date {
	background: var(--bx-orange);
	color: #222222;
}

.bx-events .bc-event__day {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 56px;
	line-height: 0.85;
}

.bx-events .bc-event__month {
	margin: 0;
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: inherit;
}

.bx-events .bc-event__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 22px 24px;
	align-self: stretch;
}

.bx-events .bc-event__title {
	margin: 0;
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 25px;
	line-height: 1.05;
}

.bx-events .bc-event__title a {
	color: inherit;
}

.bx-events .bc-event__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 14px;
	color: var(--bx-copper);
}

.bx-events .bc-event__status {
	padding: 2px 8px;
	border: 0;
	border-radius: var(--bx-r-xs);
	background: var(--bx-orange);
	color: #222222;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bx-events .bc-event--now .bc-event__status {
	background: #222222;
	color: #FAF3E1;
}

.bx-events .bc-event__place {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--bx-muted);
}

.bx-events .bc-event__city {
	display: inline;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--bx-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.bx-events .bc-event__city::before {
	content: none;
}

.bx-events .bc-event--club .bc-event__city {
	background: none;
	color: var(--bx-ink);
}

.bx-events .bc-event__venue {
	color: var(--bx-muted);
}

.bx-events .bc-event--none .bc-event__venue {
	font-style: normal;
	font-weight: 500;
}

.bx-events .bc-events__empty {
	max-width: 40rem;
	margin: 0;
	font-size: 22px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-ev-note {
	margin: 28px 0 0;
	font-size: 16px;
	color: var(--bx-muted);
}

/* ---------- Club ---------- */

.bx-club {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 72px;
	align-items: start;
}

.bx-club-l {
	display: grid;
	gap: 22px;
	align-content: start;
}

.bx-club-l > * {
	margin: 0 !important;
}

.bx-feat {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 40px;
}

.bx-ft {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 18px;
	align-items: start;
}

.bx-ft-ic {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: var(--bx-r-md);
	background: var(--bx-card);
	color: var(--bx-copper);
	box-shadow: var(--bx-shadow);
}

/* Feature icons. Drawn from the theme as masks: page content cannot carry inline SVG. */
.bx-ft-ic::before {
	content: "";
	width: 26px;
	height: 26px;
	background: currentColor;
	-webkit-mask: var(--bx-ic) center / contain no-repeat;
	mask: var(--bx-ic) center / contain no-repeat;
}
.bx-ft-ic--meet { --bx-ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h11v8H9l-4 3v-3H4z%22/%3E%3Cpath d=%22M15 9h5v8h-1v3l-4-3h-5v-4%22/%3E%3C/svg%3E"); }
.bx-ft-ic--btc { --bx-ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 8a2 2 0 0 0 0 4v5h18v-5a2 2 0 0 1 0-4V5H3z%22/%3E%3Cpath d=%22M14 5v12%22 stroke-dasharray=%222 2.5%22/%3E%3C/svg%3E"); }
.bx-ft-ic--tv { --bx-ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2213%22 rx=%223%22/%3E%3Cpath d=%22M10.5 9.2v4.6l4-2.3z%22/%3E%3Cpath d=%22M8 21h8%22/%3E%3C/svg%3E"); }
.bx-ft-ic--community { --bx-ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%228%22 r=%223%22/%3E%3Ccircle cx=%2217%22 cy=%229%22 r=%222.5%22/%3E%3Cpath d=%22M2.5 19c.8-3.4 3-5 5.5-5s4.7 1.6 5.5 5%22/%3E%3Cpath d=%22M14 14.6c.9-.4 1.9-.6 3-.6 2.2 0 4 1.4 4.5 5%22/%3E%3C/svg%3E"); }

.bx-ft h3 {
	margin: 4px 0 6px;
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 26px;
	line-height: 1.05;
}

.bx-ft p {
	margin: 0;
	font-size: 17px;
	line-height: 1.45;
	color: var(--bx-muted);
}

/* ---------- Statement ---------- */

.bx-state {
	position: relative;
	overflow: hidden;
	padding-block: 96px;
	text-align: center;
}

.bx-state > * {
	margin-inline: auto;
}

.bx-chain {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 32px;
}

.bx-chain i {
	display: block;
	width: 14px;
	height: 14px;
	background: var(--bx-orange);
}

.bx-chain i:nth-child(2n) {
	width: 28px;
	height: 2px;
	background: var(--bx-line2);
}

.bx-state-p {
	max-width: 22em;
	margin: 0 auto;
	font-weight: 800;
	font-size: 52px;
	line-height: 1.05;
	color: var(--bx-copper);
	text-wrap: balance;
}

/* ---------- Where (a drawn map, no embed) ---------- */

.bx-map {
	position: relative;
	min-height: 580px;
	overflow: hidden;
	background: var(--bx-map-a);
}

.bx-map > .bx-wrap,
.bx-map .bx-wrap {
	position: relative;
	display: flex;
	justify-content: flex-end;
	padding-block: 88px;
}

/* Plan of the club's block in Geo Milev: streets and building footprints traced from
   Google Maps. Units are SVG units, so sizes are set per breakpoint to keep labels and
   the pin readable. */
.bx-map__svg {
	--bx-lbl: 14;
	--bx-pin-s: 0.6;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bx-map__road {
	fill: var(--bx-map-b);
}

.bx-map__bld polygon {
	fill: var(--bx-map-bld);
}

.bx-map__club polygon {
	fill: var(--bx-orange);
}

.bx-map__lbl text {
	font-size: calc(var(--bx-lbl) * 1px);
	font-weight: 700;
	fill: var(--bx-muted);
	paint-order: stroke;
	stroke: var(--bx-map-b);
	stroke-width: 4px;
	stroke-linejoin: round;
}

.bx-map__pin {
	filter: drop-shadow(0 4px 6px rgba(152, 55, 10, 0.35));
	transform: translate(726px, 507px) scale(var(--bx-pin-s));
}

.bx-map__pin ellipse {
	fill: rgba(34, 34, 34, 0.25);
}

.bx-map__pin path {
	fill: var(--bx-card);
	stroke: var(--bx-copper);
	stroke-width: 3;
	stroke-linejoin: round;
}

.bx-place {
	position: relative;
	width: 400px;
	max-width: 100%;
	overflow: hidden;
	background: var(--bx-card);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-place__in {
	display: grid;
	gap: 10px;
	padding: 32px 32px 26px;
}

.bx-place h3 {
	margin: 0;
	font-weight: 900;
	font-size: 36px;
	line-height: 1;
}

.bx-place p {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-place__f {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 32px;
	border-top: 1px solid var(--bx-line);
}

.bx-place__f .bx-mono {
	font-size: 14px;
	font-weight: 700;
	color: var(--bx-muted);
}

/* ---------- Channels ---------- */

.bx-ch {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 64px;
	align-items: start;
}

.bx-ch-l {
	display: grid;
	gap: 28px;
}

.bx-ch-l > *,
.bx-ch-r > * {
	margin: 0 !important;
}

.bx-ch-r {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.bx-ch-r .bx-eyebrow {
	display: flex;
	align-items: center;
	min-height: 61px;
}

.bx-warn {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	padding: 24px;
	border-radius: var(--bx-r-lg);
	background: var(--bx-card);
	box-shadow: inset 0 0 0 2px var(--bx-danger);
}

.bx-warn__i {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--bx-danger);
	color: var(--bx-bg);
	font-weight: 900;
	font-size: 24px;
	border-radius: var(--bx-r-xs);
}

.bx-warn h4 {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0 0 4px;
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 21px;
	line-height: 1.15;
	color: var(--bx-danger);
}

.bx-warn p {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-chans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

/* The last card (Discord) takes two columns. */
.bx-cn:last-child {
	grid-column: span 2;
}

.bx-cn {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 124px;
	padding: 22px 22px 20px;
	border-radius: var(--bx-r-md);
	background: var(--bx-card);
	box-shadow: var(--bx-shadow);
	color: var(--bx-ink);
	text-decoration: none;
}

.bx-cn .bx-mono {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bx-muted);
}

.bx-cn b {
	font-weight: 800;
	font-size: 24px;
	line-height: 1.1;
}

.bx-cn .bx-go {
	margin-top: auto;
	font-weight: 800;
	font-size: 15px;
	color: var(--bx-copper);
}

@media (hover: hover) {
	.bx-cn:hover .bx-go {
		text-decoration: underline;
	}
}

/* ---------- Contact band and footer ---------- */

.bx-band {
	background: var(--bx-orange);
	color: #222222;
	--bx-focus: #222222;
}

.bx-band__in {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px 28px;
	padding-block: 34px;
	font-size: 20px;
	font-weight: 600;
}

.bx-band__in > * {
	margin: 0 !important;
}

.bx-band strong {
	font-weight: 900;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bx-band a {
	color: #222222;
	font-weight: 800;
	text-decoration: none;
}

.bx-band a:hover {
	text-decoration: underline;
}

.bx-band__sep {
	width: 8px;
	height: 8px;
	background: #222222;
	opacity: 0.35;
}

.bx-foot {
	background: var(--bx-foot);
	color: var(--bx-foot-ink);
	--bx-focus: #FF8950;
}

.bx-foot__in {
	display: grid;
	gap: 56px;
	padding-block: 72px 40px;
}

.bx-foot__in > * {
	margin: 0 !important;
}

.bx-foot__g {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.bx-foot h4 {
	margin: 0 0 14px;
	font-family: var(--bx-sans);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bx-foot-muted);
}

.bx-foot p,
.bx-foot li {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--bx-foot-ink);
}

.bx-foot ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-foot a {
	color: var(--bx-foot-link);
	text-decoration: none;
}

.bx-foot a:hover {
	text-decoration: underline;
}

.bx-brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.bx-brand img {
	width: 64px;
	height: auto;
}

.bx-brand b {
	display: block;
	font-weight: 900;
	font-size: 26px;
	line-height: 1;
}

.bx-brand span {
	display: block;
	font-size: 15px;
	color: var(--bx-foot-muted);
}

.bx-brand .bx-brand__eik {
	margin-top: 6px;
	font-size: 14px;
}

.bx-foot__b {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid rgba(250, 243, 225, 0.14);
	font-size: 15px;
	color: var(--bx-foot-muted);
}

.bx-foot__b p {
	font-size: 15px;
	color: var(--bx-foot-muted);
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	:root {
		--bx-gutter: 32px;
		--bx-sec: 88px;
		--bx-sec-first: 64px;
		--bx-nav-h: 120px;
	}

	.bx-nav {
		grid-template-columns: auto 1fr;
	}

	/* WordPress layout classes set display on these, so the hide rules need more weight. */
	.bx-header .bx-nav > .bx-nav-l {
		display: none;
	}

	.bx-logo {
		justify-self: start;
	}

	.bx-logo img {
		width: 76px;
	}

	.bx-h1 {
		font-size: 84px;
	}

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

	.bx-stat:nth-child(3) {
		border-left: 0;
	}

	.bx-stat:nth-child(n + 3) {
		border-top: 1px solid var(--bx-line);
	}

	.bx-h2 {
		font-size: 54px;
	}

	.bx-events .bc-events__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.bx-events .bc-event {
		grid-template-columns: 128px 1fr;
	}

	.bx-club {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}

	.bx-ch {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.bx-state-p {
		font-size: 44px;
	}

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

}

/* ---------- Phone ---------- */

@media (max-width: 640px) {
	:root {
		--bx-gutter: 20px;
		--bx-sec: 72px;
		--bx-sec-first: 48px;
		--bx-nav-h: 96px;
	}

	.bx-nav {
		padding-block: 16px;
	}

	.bx-header .bx-nav > .bx-nav-r {
		display: none;
	}

	.bx-logo img {
		width: 64px;
	}

	.bx-hero {
		padding-bottom: 132px;
	}

	.bx-hero-in {
		gap: 22px;
		padding-top: calc(var(--bx-nav-h) + 28px);
	}

	.bx-chip {
		height: 32px;
		font-size: 12px;
	}

	.bx-h1 {
		font-size: 60px;
	}

	.bx-hero-p {
		font-size: 19px;
	}

	.bx-hero-btns {
		flex-direction: column;
		align-self: stretch;
	}

	.bx-hero-btns .wp-block-button,
	.bx-hero-btns .wp-block-button__link {
		width: 100%;
	}

	body .bc-main .wp-block-post-content.alignfull > .bx-stats-sec.alignfull {
		margin-top: -96px;
	}

	.bx-stats {
		border-radius: var(--bx-r-lg);
	}

	.bx-stat {
		padding: 22px 20px;
	}

	.bx-stat b {
		font-size: 42px;
	}

	.bx-stat span {
		font-size: 12px;
	}

	.bx-jump {
		gap: 8px 18px;
		font-size: 13px;
	}

	.bx-h2 {
		font-size: 44px;
	}

	.bx-lead {
		font-size: 19px;
	}

	.bx-sec-head {
		margin-bottom: 32px;
	}

	.bx-events .bc-event {
		grid-template-columns: 96px 1fr;
	}

	.bx-events .bc-event__day {
		font-size: 44px;
	}

	.bx-events .bc-event__body {
		padding: 18px;
	}

	.bx-events .bc-event__title {
		font-size: 22px;
	}

	.bx-feat {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.bx-state {
		padding-block: 72px;
	}

	.bx-state-p {
		font-size: 34px;
	}

	.bx-map {
		min-height: 0;
		padding-top: 340px;
	}

	.bx-map__svg {
		--bx-lbl: 30;
		--bx-pin-s: 1.45;
		bottom: auto;
		height: 340px;
	}

	.bx-map .bx-wrap {
		padding-block: 0 40px;
	}

	.bx-place {
		width: 100%;
	}

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

	.bx-cn {
		min-height: 112px;
		padding: 18px 16px;
	}

	.bx-cn b {
		font-size: 20px;
	}

	.bx-band__in {
		flex-direction: column;
		gap: 8px;
		font-size: 18px;
	}

	.bx-band__sep {
		display: none;
	}

	.bx-foot__g {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* Full-screen hero on a big landscape screen (design note 11): the hero and the stats strip fill the first screen. */
@media (min-width: 1025px) and (min-aspect-ratio: 4/3) {
	.bx-hero {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: calc(100svh - 104px);
		max-height: 60rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* ==========================================================================
   Learn page ("Научи основите", Learn.dc.html in the canvas)
   Template "Страница от секции" (page-sections): no title row, full-width
   sections. The header lies over the page top, which carries the dump. The
   page top is orange like the home hero (confirmed in the canvas, 2026-11-11);
   without `bx-surf-or` it falls back to the ribbon.
   The live blocks come from the plugin Bitcoin Club Chain (bitcoinclub/chain-*).
   ========================================================================== */

body.page-template-page-sections .bx-header,
body.bx-has-top .bx-header,
body:has(.bx-plain-top.bx-ltop) .bx-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
}

body.page-template-page-sections .bx-header > .bx-gen,
body.bx-has-top .bx-header > .bx-gen,
body:has(.bx-plain-top.bx-ltop) .bx-header > .bx-gen {
	display: none;
}

/* Over the orange page top the header text stays ink in both themes. */
body.page-template-page-sections:has(.bx-ltop.bx-surf-or) .bx-header,
body.bx-has-top:has(.bx-ltop.bx-surf-or) .bx-header,
body:has(.bx-plain-top.bx-ltop.bx-surf-or) .bx-header {
	color: #222222;
	--bx-focus: #222222;
}

body.admin-bar.page-template-page-sections .bx-header,
body.admin-bar.bx-has-top .bx-header,
body.admin-bar:has(.bx-plain-top.bx-ltop) .bx-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.bx-sections .wp-block-post-content > .alignfull {
	margin-block: 0;
}

/* Page top */
.bx-ltop {
	position: relative;
	overflow: hidden;
	background: var(--bx-band);
	color: var(--bx-ink);
}

.bx-ltop .bx-gen {
	color: rgba(34, 34, 34, 0.11);
}

.bx-ltop .bx-gen__row--strong span:last-child {
	color: rgba(34, 34, 34, 0.24);
}

:root[data-bc-theme="dark"] .bx-ltop .bx-gen {
	color: rgba(250, 243, 225, 0.09);
}

:root[data-bc-theme="dark"] .bx-ltop .bx-gen__row--strong span:last-child {
	color: rgba(250, 243, 225, 0.2);
}

.bx-ltop__in {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: 56px;
	align-items: center;
	padding-top: calc(var(--bx-nav-h) + 40px);
	padding-bottom: 104px;
}

.bx-ltop__in > * {
	margin: 0 !important;
}

.bx-ltop__l {
	display: grid;
	gap: 24px;
	justify-items: start;
}

.bx-ltop__l > * {
	margin: 0 !important;
}

.bx-crumb {
	font-size: 15px;
	color: var(--bx-muted);
}

.bx-crumb a {
	color: var(--bx-copper);
	font-weight: 700;
	text-decoration: none;
}

.bx-crumb a:hover {
	text-decoration: underline;
}

.bx-h1.bx-h1--sub {
	max-width: none;
	font-size: 96px;
	color: var(--bx-ink);
}

.bx-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Orange page top (both themes) */
.bx-ltop.bx-surf-or {
	background: var(--bx-orange);
	color: #222222;
}

.bx-ltop.bx-surf-or .bx-gen,
:root[data-bc-theme="dark"] .bx-ltop.bx-surf-or .bx-gen {
	color: rgba(34, 34, 34, 0.11);
}

.bx-ltop.bx-surf-or .bx-gen__row--strong span:last-child,
:root[data-bc-theme="dark"] .bx-ltop.bx-surf-or .bx-gen__row--strong span:last-child {
	color: rgba(34, 34, 34, 0.24);
}

.bx-surf-or .bx-crumb,
.bx-surf-or .bx-crumb a,
.bx-ltop.bx-surf-or .bx-h1--sub,
.bx-ltop.bx-surf-or .bx-ltop__l .bx-lead {
	color: #222222;
}

.bx-surf-or .bx-crumb a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bx-surf-or .bx-b--line .wp-block-button__link {
	color: #222222;
	box-shadow: inset 0 0 0 2px rgba(34, 34, 34, 0.5);
}

@media (hover: hover) {
	.bx-surf-or .bx-b--line .wp-block-button__link:hover {
		color: #222222;
		box-shadow: inset 0 0 0 2px #222222;
	}
}

.bx-surf-or .bx-lk {
	background: rgba(34, 34, 34, 0.4);
}

.bx-surf-or .bx-lk::after {
	background: #222222;
}

.bx-surf-or .bx-viz__l3 {
	background: linear-gradient(90deg, rgba(34, 34, 34, 0.4) 30%, rgba(34, 34, 34, 0));
}

.bx-surf-or .bx-viz__b2 {
	background: #6D2609;
}

.bx-surf-or .bx-viz__b2::before {
	background-image: linear-gradient(rgba(242, 105, 33, 0.3), rgba(242, 105, 33, 0.3));
}

.bx-surf-or .bx-viz__h {
	color: rgba(34, 34, 34, 0.78);
}



/* Live card in the page top (plugin view "card") */
.bx-viz {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 560 / 430;
	justify-self: end;
}

.bx-viz__deco {
	position: absolute;
	inset: 0;
}

.bx-blk {
	position: absolute;
	aspect-ratio: 1;
	border-radius: 4%;
}

.bx-blk::before {
	content: "";
	position: absolute;
	inset: 16%;
	background-image: linear-gradient(rgba(34, 34, 34, 0.16), rgba(34, 34, 34, 0.16));
	background-size: 21% 21%;
	background-repeat: space;
}

/* Three blocks of the same size in mempool.space order: on the left the next block
   (not linked yet), then the newest and the previous mined block, and a last link
   that fades out on the right, so the chain reads as going on. */
.bx-viz__b1,
.bx-viz__b2,
.bx-viz__b3 {
	top: 18%;
	width: 24%;
}

/* The next block looks like the waiting blocks in the row: solid ink, orange squares. */
.bx-viz__b1 { left: 0; background: #222222; }
.bx-viz__b2 { left: 35%; background: var(--bx-orange); }
.bx-viz__b3 { left: 70%; background: #FED1BB; }

.bx-viz__b1::before {
	background-image: linear-gradient(rgba(242, 105, 33, 0.85), rgba(242, 105, 33, 0.85));
}

.bx-viz__h {
	position: absolute;
	top: 10%;
	width: 24%;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--bx-muted);
}

.bx-viz__h1 { left: 0; }
.bx-viz__h2 { left: 35%; }
.bx-viz__h3 { left: 70%; }

.bx-lk {
	position: absolute;
	top: 46%;
	height: 3px;
	background: var(--bx-line2);
}

.bx-lk::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -4.5px;
	width: 12px;
	height: 12px;
	background: var(--bx-orange);
	transform: translateX(-50%);
}

/* Centre of the blocks: top 18% + half of their height (24% of the width = 31.3% of the height). */
.bx-lk {
	top: calc(33.6% - 1.5px);
}

.bx-viz__l2 { left: 59%; width: 11%; }

/* The "СЕГА" line in the gap between the next block and the mined ones. */
.bx-viz__now {
	position: absolute;
	left: 29.5%;
	top: 0;
	bottom: 46%;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translateX(-50%);
}

.bx-viz__now::after {
	content: "";
	flex: 1;
	margin-top: 8px;
	border-left: 2px dashed var(--bx-line2);
}

.bx-now {
	display: inline-block;
	padding: 6px 10px;
	border-radius: var(--bx-r-xs);
	background: #222222;
	color: #FAF3E1;
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.1em;
}

.bx-surf-or .bx-viz__now::after {
	border-left-color: rgba(34, 34, 34, 0.55);
}

/* The open end: a link out of the oldest block that fades away. */
.bx-viz__l3 {
	left: 94%;
	width: 14%;
	background: linear-gradient(90deg, var(--bx-line2) 30%, transparent);
}

.bx-viz__l3::after {
	left: 30%;
}


/* The card sets its own text color: on a dark card the inherited ink would vanish. */
.bx-live {
	position: absolute;
	left: 0;
	bottom: -10%;
	width: 64%;
	display: grid;
	gap: 10px;
	padding: 20px 22px;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-live > b {
	font-weight: 900;
	font-size: 34px;
	line-height: 1;
}

.bx-live__h {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.bx-live__src {
	font-size: 12px;
	color: var(--bx-muted);
}

.bx-live__g {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 10px;
	border-top: 1px solid var(--bx-line);
}

.bx-live__g > div {
	display: grid;
	gap: 2px;
	font-size: 13px;
	color: var(--bx-muted);
}

.bx-live__g .bx-mono {
	font-size: 14px;
	font-weight: 700;
	color: var(--bx-ink);
	white-space: nowrap;
}

.bx-live .bx-chain-off {
	margin: 0;
	font-size: 15px;
	color: var(--bx-muted);
}

.bx-live.is-stale > b {
	color: var(--bx-muted);
}

.bx-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 26px;
	padding: 0 10px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-live-bg);
	color: var(--bx-live);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}

.bx-pill i {
	display: block;
	width: 8px;
	height: 8px;
	background: currentColor;
}

.bx-pill.is-stale {
	background: var(--bx-bg2);
	color: var(--bx-muted);
}

@media (prefers-reduced-motion: no-preference) {
	.bx-pill:not(.is-stale) i {
		animation: bx-live 1.6s ease-in-out infinite;
	}
}

@keyframes bx-live {
	50% { opacity: 0.35; }
}

/* Section heads */
.bx-head {
	display: grid;
	gap: 16px;
	margin-bottom: 48px;
}

.bx-head > * {
	margin: 0 !important;
}

.bx-head--c {
	justify-items: center;
	text-align: center;
}

/* Chapter 1: the whitepaper sentence */
.bx-wp {
	position: relative;
	margin: 0;
	padding: 56px 64px 40px 140px;
	overflow: hidden;
	background: var(--bx-card);
	border-radius: var(--bx-r-xl);
	box-shadow: var(--bx-shadow);
}

.bx-wp::before {
	content: "„";
	position: absolute;
	left: 48px;
	top: 34px;
	font-weight: 900;
	font-size: 180px;
	line-height: 0.8;
	color: var(--bx-orange);
}

.bx-wp > * {
	margin: 0 !important;
}

.bx-wp__en {
	font-style: italic;
	font-weight: 500;
	font-size: 36px;
	line-height: 1.2;
	text-wrap: balance;
}

.bx-wp__bg {
	margin-top: 20px !important;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.35;
	color: var(--bx-muted);
	text-wrap: balance;
}

.bx-wp__f {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 28px !important;
	padding-top: 20px;
	border-top: 1px solid var(--bx-line);
	font-size: 16px;
	color: var(--bx-muted);
}

.bx-wp__f > * {
	margin: 0 !important;
}

.bx-props-h {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin: 88px 0 32px;
}

.bx-props-h > * {
	margin: 0 !important;
}

.bx-props-h h3 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 40px;
	line-height: 1;
}

.bx-props-h p {
	font-size: 17px;
	color: var(--bx-muted);
}

.bx-props {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 24px;
}

.bx-props > * {
	margin: 0 !important;
}

.bx-pr {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	background: var(--bx-card);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-pr > *,
.bx-pr__top > * {
	margin: 0 !important;
}

.bx-pr:nth-child(4),
.bx-pr:nth-child(5) {
	grid-column: span 3;
}

.bx-pr__top {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bx-pr__n {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: var(--bx-r-sm);
	background: var(--bx-tint);
	color: var(--bx-copper);
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 16px;
}

.bx-pr:first-child .bx-pr__n {
	background: var(--bx-orange);
	color: #222222;
}

.bx-pr h4 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 28px;
	line-height: 1;
}

.bx-pr p {
	font-size: 18px;
	line-height: 1.45;
}

.bx-pr .bx-pr__q {
	padding: 14px 16px;
	border-radius: var(--bx-r-sm);
	background: var(--bx-bg2);
	font-size: 16px;
	line-height: 1.4;
	color: var(--bx-muted);
}

.bx-pr__q em {
	display: block;
	margin-bottom: 4px;
	color: var(--bx-ink);
}

.bx-pr .bx-pr__c {
	margin-top: auto !important;
	font-family: var(--bx-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--bx-copper);
}

/* Chapter 2: the live chain, an ink band in both themes */
.bx-veriga {
	position: relative;
	overflow: hidden;
	background: #222222;
	color: #FAF3E1;
	--bx-focus: #FF8950;
}

:root[data-bc-theme="dark"] .bx-veriga {
	background: #0B0A09;
	box-shadow: inset 0 1px 0 rgba(250, 243, 225, 0.08), inset 0 -1px 0 rgba(250, 243, 225, 0.08);
}

.bx-veriga .bx-eyebrow {
	color: #FF8950;
}

.bx-veriga .bx-lead {
	color: #C8BDA6;
}

.bx-veriga a {
	color: #FF8950;
}

.bx-row {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 22px;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.bx-row.is-stale {
	opacity: 0.7;
}

.bx-mb {
	flex: 0 0 148px;
	display: grid;
	justify-items: center;
	gap: 10px;
	min-width: 0;
}

.bx-mb__h {
	height: 14px;
	font-size: 12px;
	font-weight: 700;
	color: #C8BDA6;
}

/* No aspect-ratio here: forcing a square made the tiles wider than their slot when
   the text needed more height, so they overlapped. */
.bx-mb__b {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	box-sizing: border-box;
	padding: 12px;
	border-radius: var(--bx-r-md);
	background: #F5E7C6;
	color: #222222;
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.8);
}

/* 8 x 4 squares, filled from the right as far as the block is full. */
.bx-mb__g {
	position: relative;
	height: 62px;
	margin-bottom: 4px;
	--bc-t: 0.7s;
}

.bx-mb__g i {
	position: absolute;
	width: calc(12.5% - 2px);
	height: calc(25% - 2px);
	margin: 1px;
	background: #F26921;
	transition: left var(--bc-t) ease, top var(--bc-t) ease;
}

.bx-mb__g .bx-c1 { background: #F26921; }
.bx-mb__g .bx-c2 { background: #DD580D; }
.bx-mb__g .bx-c3 { background: #FF8950; }
.bx-mb__g .bx-c4 { background: #BF4703; }

@media (prefers-reduced-motion: reduce) {
	.bx-mb__g i {
		transition: none;
	}
}

.bx-mb__n {
	font-size: 12px;
	font-weight: 700;
}

.bx-mb__t {
	font-weight: 800;
	font-size: 17px;
	line-height: 1;
}

.bx-mb__fee {
	align-self: flex-start;
	padding: 4px 7px;
	border-radius: var(--bx-r-xs);
	background: #222222;
	color: #FAF3E1;
	font-size: 11px;
	font-weight: 700;
}

.bx-mb--pend .bx-mb__b {
	background: transparent;
	box-shadow: inset 0 0 0 2px rgba(250, 243, 225, 0.35);
	color: #FAF3E1;
}

.bx-mb--pend .bx-mb__g::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(250, 243, 225, 0.06);
}

.bx-mb--pend .bx-mb__fee {
	background: #FF8950;
	color: #222222;
}

/* A new block was mined (plugin script): every tile slides one slot to the right, the
   next waiting block crosses the "СЕГА" line and takes the mined look, the oldest fades. */
.bx-row.is-mining .bx-mb {
	transition: transform 1.6s cubic-bezier(0.45, 0, 0.2, 1), opacity 1.2s ease;
}

.bx-mb--landing .bx-mb__b {
	transition: background-color 1.6s ease, box-shadow 1.6s ease, color 1.6s ease;
	background: #F5E7C6;
	color: #222222;
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.8);
}

.bx-mb--landing .bx-mb__fee {
	transition: background-color 1.6s ease, color 1.6s ease;
	background: #222222;
	color: #FAF3E1;
}

/* Then a new waiting block slides in on the left and its transactions arrive one by one. */
.bx-mb--enter {
	animation: bx-mb-enter 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bx-mb--enter .bx-mb__g i {
	animation: bx-tx-in 0.5s ease both;
	animation-delay: calc(0.6s + var(--k, 0) * 70ms);
}

@keyframes bx-mb-enter {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}
}

@keyframes bx-tx-in {
	from {
		opacity: 0;
		transform: scale(0.2);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bx-row.is-mining .bx-mb,
	.bx-mb--landing .bx-mb__b,
	.bx-mb--landing .bx-mb__fee {
		transition: none;
	}

	.bx-mb--enter,
	.bx-mb--enter .bx-mb__g i {
		animation: none;
	}
}

.bx-sep {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-family: var(--bx-mono);
	font-size: 12px;
	font-weight: 700;
	line-height: 14px;
	letter-spacing: 0.1em;
	color: #FF8950;
}

.bx-sep::after {
	content: "";
	flex: 1;
	border-left: 2px dashed rgba(250, 243, 225, 0.35);
}

.bx-row-l {
	display: flex;
	justify-content: space-between;
	max-width: 1080px;
	margin: 20px auto 0;
	font-size: 13px;
	color: #C8BDA6;
}

.bx-src {
	margin: 40px 0 0;
	text-align: center;
	font-size: 16px;
	color: #C8BDA6;
}

.bx-src a,
.bx-np__src a {
	font-weight: 700;
	text-decoration: none;
}

.bx-src a:hover,
.bx-np__src a:hover {
	text-decoration: underline;
}

.bx-veriga .bx-chain-off {
	text-align: center;
	color: #C8BDA6;
}

/* Chapter 3: numbers (plugin view "numbers") */
.bx-nums {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.bx-np {
	display: grid;
	align-content: start;
	gap: 24px;
	padding: 36px;
	background: var(--bx-card);
	border-radius: var(--bx-r-xl);
	box-shadow: var(--bx-shadow);
}

.bx-np--2 {
	background: var(--bx-tint);
}

.bx-np__h {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: start;
	gap: 12px;
}

.bx-np__h h3 {
	margin: 0;
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 36px;
	line-height: 1;
}

.bx-np__h p {
	margin: 4px 0 0;
	font-size: 17px;
	color: var(--bx-muted);
}

.bx-ng {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.bx-nv {
	display: grid;
	gap: 4px;
	padding: 18px 0;
	border-top: 1px solid var(--bx-line);
}

.bx-nv:nth-child(odd) {
	padding-right: 20px;
}

.bx-nv b {
	font-weight: 900;
	font-size: 44px;
	line-height: 0.9;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.bx-nv b em {
	margin-left: 4px;
	font-style: normal;
	font-size: 24px;
	color: var(--bx-copper);
}

.bx-nv span {
	font-size: 16px;
	color: var(--bx-muted);
}

.bx-np__src {
	margin: 0;
	font-size: 12px;
	color: var(--bx-muted);
}

.bx-np__src a {
	color: var(--bx-copper);
}

.bx-bar {
	display: grid;
	gap: 8px;
}

.bx-bar__t {
	display: flex;
	justify-content: space-between;
	font-weight: 700;
	font-size: 15px;
}

.bx-bar__r {
	height: 16px;
	overflow: hidden;
	background: var(--bx-card);
	border-radius: var(--bx-r-xs);
}

.bx-bar__r i {
	display: block;
	height: 100%;
	background-image: linear-gradient(90deg, #F26921 0 calc(100% - 6px), transparent 0);
	background-size: 22px 100%;
}

/* Chapter 4: quotes */
.bx-qc {
	position: relative;
	margin: 0;
	padding: 64px 72px 36px;
	overflow: hidden;
	background: var(--bx-card);
	border-radius: var(--bx-r-xl);
	box-shadow: var(--bx-shadow);
}

.bx-qc::before {
	content: "“";
	position: absolute;
	top: 64px;
	left: 72px;
	display: block;
	height: 84px;
	font-weight: 900;
	font-size: 150px;
	line-height: 0.85;
	color: var(--bx-orange);
}

.bx-qc__item {
	margin: 0 !important;
	padding-left: 110px;
}

.bx-qc__item + .bx-qc__item {
	margin-top: 48px !important;
	padding-top: 40px;
	border-top: 1px solid var(--bx-line);
}

.bx-qc.is-js .bx-qc__item + .bx-qc__item {
	margin-top: 0 !important;
	padding-top: 0;
	border-top: 0;
}

.bx-qc__item[hidden] {
	display: none;
}

.bx-qc__item > * {
	margin: 0 !important;
}

.bx-qc__en {
	max-width: 24em;
	font-weight: 800;
	font-size: 46px;
	line-height: 1.08;
	text-wrap: balance;
}

.bx-qc__bg {
	max-width: 40em;
	margin-top: 18px !important;
	font-size: 24px;
	line-height: 1.4;
	color: var(--bx-muted);
}

.bx-qc__by {
	margin-top: 22px !important;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bx-copper);
}

.bx-qc__src {
	margin-left: 10px;
	font-weight: 800;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.bx-qc__src::after {
	content: " »";
}

.bx-qc__src:hover,
.bx-qc__src:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.bx-qc__f {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--bx-line);
}

.bx-qc__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bx-qc__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	background: var(--bx-line2);
	cursor: pointer;
}

.bx-qc__dot[aria-current="true"] {
	width: 32px;
	background: var(--bx-orange);
}

.bx-qc__ctl {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bx-qc__n {
	margin-right: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bx-muted);
}

.bx-qc__rb {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: var(--bx-r-xs);
	background: var(--bx-bg2);
	color: var(--bx-ink);
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.bx-qc__rb--dk {
	background: #222222;
	color: #FAF3E1;
}

:root[data-bc-theme="dark"] .bx-qc__rb--dk {
	background: var(--bx-orange);
	color: #222222;
}

@media (hover: hover) {
	.bx-qc__rb:hover {
		box-shadow: inset 0 0 0 2px var(--bx-ink);
	}

	.bx-qc__rb--dk:hover {
		background: #3A3633;
		box-shadow: none;
	}
}

/* Lessons */
.bx-ls {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.bx-ls > * {
	margin: 0 !important;
}

.bx-lc {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--bx-card);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-lc > * {
	margin: 0 !important;
}

.bx-th {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #F26921;
}

.bx-th--2 { background: #222222; }
.bx-th--3 { background: #F5E7C6; }

.bx-th__a,
.bx-th__b {
	position: absolute;
	aspect-ratio: 1;
	border-radius: 4%;
}

.bx-th__a::before {
	content: "";
	position: absolute;
	inset: 16%;
	background-image: linear-gradient(rgba(34, 34, 34, 0.16), rgba(34, 34, 34, 0.16));
	background-size: 21% 21%;
	background-repeat: space;
}

.bx-th--1 .bx-th__a { left: -6%; bottom: -18%; width: 34%; background: #DD580D; }
.bx-th--1 .bx-th__b { right: 8%; top: 10%; width: 14%; background: #FF8950; }
.bx-th--2 .bx-th__a { right: -8%; bottom: -20%; width: 36%; background: #BF4703; }
.bx-th--2 .bx-th__b { left: 10%; top: 12%; width: 12%; background: #F26921; }
.bx-th--3 .bx-th__a { left: 8%; bottom: -16%; width: 30%; background: #F26921; }
.bx-th--3 .bx-th__b { right: 6%; top: -10%; width: 26%; background: #FED1BB; }

.bx-th__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: var(--bx-r-xs);
	background: #FFFCF3;
	box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
}

.bx-th__play::after {
	content: "";
	position: absolute;
	left: 26px;
	top: 21px;
	border-style: solid;
	border-width: 11px 0 11px 17px;
	border-color: transparent transparent transparent #222222;
}

.bx-th__dur {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 3px 7px;
	border-radius: var(--bx-r-xs);
	background: rgba(34, 34, 34, 0.85);
	color: #FAF3E1;
	font-family: var(--bx-mono);
	font-size: 12px;
	font-weight: 700;
}

.bx-lc__b {
	display: grid;
	gap: 10px;
	padding: 22px 24px 26px;
}

.bx-lc__b > * {
	margin: 0 !important;
}

.bx-lv {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-tint);
	color: var(--bx-copper);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bx-lv--alt {
	background: var(--bx-bg2);
	color: var(--bx-muted);
}

.bx-lc h3 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 28px;
	line-height: 1.02;
}

/* The heading link covers the whole card. */
.bx-lc h3 a {
	color: var(--bx-ink);
	text-decoration: none;
}

.bx-lc h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Hover: the whole card changes (tint + orange ring), no underlines. */
.bx-lc {
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) {
	.bx-lc:hover {
		background: var(--bx-tint);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bx-lc {
		transition: none;
	}
}

.bx-lc:focus-within {
	outline: 3px solid var(--bx-focus);
	outline-offset: 3px;
}

.bx-lc h3 a:focus-visible {
	outline: 0;
}

.bx-lc p {
	font-size: 17px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-ls-f {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 44px !important;
}

/* Learn page: tablet */
@media (max-width: 1024px) {
	.bx-ltop__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
		padding-top: calc(var(--bx-nav-h) + 24px);
		padding-bottom: 88px;
	}

	.bx-viz {
		justify-self: center;
	}

	.bx-h1.bx-h1--sub {
		font-size: 76px;
	}

	.bx-wp {
		padding: 48px 40px 32px 112px;
	}

	.bx-wp::before {
		left: 28px;
		font-size: 150px;
	}

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

	.bx-pr,
	.bx-pr:nth-child(4) {
		grid-column: span 1;
	}

	.bx-pr:nth-child(5) {
		grid-column: span 2;
	}

	.bx-mb--p3,
	.bx-mb--p4,
	.bx-mb--m3 {
		display: none;
	}

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

	.bx-qc {
		padding: 56px 44px 32px;
	}

	.bx-qc::before {
		top: 56px;
		left: 44px;
	}

	.bx-qc__item {
		padding-left: 96px;
	}

	.bx-qc__en {
		font-size: 38px;
	}

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

	.bx-ls > :nth-child(3) {
		display: none;
	}
}

/* Learn page: phone */
@media (max-width: 640px) {
	.bx-ltop__in {
		gap: 36px;
		padding-top: calc(var(--bx-nav-h) + 8px);
		padding-bottom: 72px;
	}

	.bx-h1.bx-h1--sub {
		font-size: 56px;
	}

	.bx-btns {
		flex-direction: column;
		align-self: stretch;
		justify-self: stretch;
	}

	.bx-btns .wp-block-button,
	.bx-btns .wp-block-button__link,
	.bx-ls-f .wp-block-button,
	.bx-ls-f .wp-block-button__link {
		width: 100%;
	}

	.bx-live {
		width: 84%;
		padding: 16px;
	}

	/* Phone: a taller frame so the card stays below the blocks, and no height labels
	   next to the "СЕГА" chip. */
	.bx-viz {
		aspect-ratio: 560 / 540;
	}

	.bx-viz__h {
		top: 9%;
		font-size: 10px;
		letter-spacing: -0.02em;
		white-space: nowrap;
	}

	.bx-viz__b1,
	.bx-viz__b2,
	.bx-viz__b3 {
		top: 16%;
	}

	.bx-lk {
		top: calc(28.4% - 1.5px);
	}

	.bx-viz__l3 {
		width: 6%;
	}

	.bx-viz__now {
		bottom: 52%;
	}

	.bx-now {
		padding: 4px 7px;
		font-size: 10px;
	}

	.bx-live > b {
		font-size: 28px;
	}

	.bx-wp {
		padding: 72px 22px 24px;
	}

	.bx-wp::before {
		left: 20px;
		top: 22px;
		font-size: 120px;
	}

	.bx-wp__en {
		font-size: 26px;
	}

	.bx-wp__bg {
		font-size: 20px;
	}

	.bx-props-h {
		margin-top: 64px;
	}

	.bx-props-h h3 {
		font-size: 32px;
	}

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

	.bx-pr,
	.bx-pr:nth-child(5) {
		grid-column: span 1;
	}

	.bx-row {
		gap: 16px;
	}

	.bx-mb {
		flex-basis: 132px;
	}

	.bx-mb__g {
		height: 52px;
	}

	.bx-mb--p2,
	.bx-mb--m2 {
		display: none;
	}

	.bx-np {
		padding: 24px;
	}

	.bx-nv b {
		font-size: 30px;
	}

	.bx-nv b em {
		font-size: 18px;
	}

	.bx-qc {
		padding: 44px 22px 24px;
	}

	.bx-qc::before {
		position: static;
		height: 62px;
		font-size: 110px;
	}

	.bx-qc__item {
		padding-left: 0;
	}

	.bx-qc__en {
		font-size: 30px;
	}

	.bx-qc__bg {
		font-size: 19px;
	}

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

	.bx-ls > :nth-child(3) {
		display: flex;
	}
}

/* Dark theme: an ink button on a dark ground turns orange; on orange surfaces it stays ink (page standards). */
:root[data-bc-theme="dark"] .bx-b--ink .wp-block-button__link,
:root[data-bc-theme="dark"] a.bx-b--ink {
	background: var(--bx-orange);
	color: #222222;
}

:root[data-bc-theme="dark"] .bx-surf-or .bx-b--ink .wp-block-button__link,
:root[data-bc-theme="dark"] .bx-surf-or a.bx-b--ink {
	background: #222222;
	color: #FAF3E1;
}

/* In the sub-page header the nav button stays quiet, so the page's own button leads. */
:root[data-bc-theme="dark"] body:not(.home) .bx-nav-r .bx-b--ink .wp-block-button__link {
	background: var(--bx-card);
	color: var(--bx-ink);
	box-shadow: inset 0 0 0 1px var(--bx-line2);
}

@media (hover: hover) {
	:root[data-bc-theme="dark"] .bx-b--ink .wp-block-button__link:hover,
	:root[data-bc-theme="dark"] a.bx-b--ink:hover {
		background: #FFAE87;
		color: #222222;
	}

	:root[data-bc-theme="dark"] .bx-surf-or .bx-b--ink .wp-block-button__link:hover {
		background: #3A3633;
		color: #FAF3E1;
	}
}

/* ==========================================================================
   Post archives: „Учебни материали“ and „Новини“ (Study.dc.html and
   News.dc.html in the canvas). Templates category-uchebni-materiali and
   category-novini; child categories use their parent's template (inc/posts.php).
   The page top reuses the Learn page top (.bx-ltop.bx-surf-or).
   ========================================================================== */

/* Cards whose heading link covers the whole card */
.bx-ov {
	position: relative;
}

.bx-ov :is(h2, h3, h4) a {
	color: inherit;
	text-decoration: none;
}

.bx-ov :is(h2, h3, h4) a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bx-ov :is(h2, h3, h4) a:focus-visible {
	outline: 0;
}

.bx-ov:focus-within {
	outline: 3px solid var(--bx-focus);
	outline-offset: 3px;
}

.bx-date {
	font-family: var(--bx-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--bx-muted);
}

.bx-empty {
	margin: 0;
	font-size: 19px;
	color: var(--bx-muted);
}

/* Page top: the newest guide or the pinned news item, with two drawn blocks */
.bx-fv {
	position: relative;
	width: 100%;
	max-width: 520px;
	justify-self: end;
	padding: 36px 0 0 36px;
	box-sizing: border-box;
}

.bx-fv--news {
	max-width: 500px;
}

.bx-fv__a,
.bx-fv__b {
	position: absolute;
	aspect-ratio: 1;
	border-radius: 4%;
}

.bx-fv__a {
	left: 0;
	top: 0;
	width: 30%;
	background: #F5E7C6;
}

.bx-fv__b {
	right: -6%;
	bottom: -8%;
	width: 22%;
	background: #6D2609;
}

.bx-fv--news .bx-fv__a { width: 28%; }
.bx-fv--news .bx-fv__b { bottom: -10%; width: 20%; }

.bx-fv__a::before,
.bx-fv__b::before {
	content: "";
	position: absolute;
	inset: 16%;
	background-image: linear-gradient(rgba(34, 34, 34, 0.16), rgba(34, 34, 34, 0.16));
	background-size: 21% 21%;
	background-repeat: space;
}

.bx-fv__b::before {
	background-image: linear-gradient(rgba(242, 105, 33, 0.3), rgba(242, 105, 33, 0.3));
}

.bx-fc {
	display: block;
	overflow: hidden;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: 0 30px 60px -28px rgba(34, 34, 34, 0.6);
}

.bx-fc__b {
	display: grid;
	gap: 10px;
	padding: 20px 24px 24px;
}

.bx-fc__b > * {
	margin: 0;
}

.bx-fc h2 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 30px;
	line-height: 1.02;
	letter-spacing: 0;
	text-wrap: balance;
}

.bx-fc p {
	font-size: 17px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-tag-new,
.bx-tag-pin {
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.1em;
	background: #222222;
	color: #FAF3E1;
	border-radius: var(--bx-r-xs);
	padding: 6px 10px;
}

.bx-tag-new {
	position: absolute;
	left: 14px;
	top: 14px;
}

:root[data-bc-theme="dark"] .bx-tag-pin {
	background: #FAF3E1;
	color: #222222;
}

/* Thumbnails: the featured image fills the 16:9 frame */
.bx-th img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* At rest a card image is high-contrast grayscale, so a grid of very different pictures
   reads as one family. On hover or keyboard focus it transitions to the real cover.
   Touch screens keep the grayscale.
   The drawn-blocks fallback (no image) is untouched. */
.bx-th--img {
	isolation: isolate;
	background: #222222;
}

.bx-th--img img {
	filter: grayscale(1) contrast(1.2);
	transform: scale(1);
	transition: filter 0.7s ease, transform 0.9s ease;
}

.bx-th--img > :is(.bx-tag-new, .bx-th__play, .bx-th__dur) {
	z-index: 2;
}

/* The play mark is see-through, and disappears on hover so the cover is clear. */
.bx-th--img .bx-th__play {
	background: rgba(255, 252, 243, 0.5);
	box-shadow: none;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.bx-ov:focus-within .bx-th--img img {
	filter: grayscale(0) contrast(1);
}

.bx-ov:focus-within .bx-th--img .bx-th__play {
	opacity: 0;
	transform: scale(0.85);
}

@media (hover: hover) {
	.bx-ov:hover .bx-th--img img {
		filter: grayscale(0) contrast(1);
		transform: scale(1.04);
	}

	.bx-ov:hover .bx-th--img .bx-th__play {
		opacity: 0;
		transform: scale(0.85);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bx-th--img img,
	.bx-th--img .bx-th__play {
		transition: none;
	}

	.bx-ov:hover .bx-th--img img,
	.bx-ov:hover .bx-th--img .bx-th__play {
		transform: none;
	}
}

/* Labels on a guide card */
.bx-lc__c {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.bx-lc__c .bx-lv {
	margin: 0;
}

.bx-lv--adv {
	background: #222222;
	color: #FAF3E1;
}

:root[data-bc-theme="dark"] .bx-lv--adv {
	background: #FAF3E1;
	color: #222222;
}

.bx-tp {
	font-family: var(--bx-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bx-muted);
}

.bx-lc__m {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 6px !important;
	padding-top: 14px;
	border-top: 1px solid var(--bx-line);
}

.bx-lc__m .bx-more {
	font-size: 15px;
}

/* Library grid: the post template is a list, each item holds one card */
.bx-ls.bx-ls--lib > li {
	display: flex;
}

.bx-ls--lib .bx-lc {
	flex: 1;
}

.bx-lc--lib .bx-lc__b {
	flex: 1;
	grid-template-rows: auto auto 1fr auto;
}

/* Filter links */
.bx-lib-h {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px 24px;
	margin-bottom: 32px;
}

.bx-fl {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bx-fb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-band);
	color: var(--bx-ink);
	font-weight: 800;
	font-size: 16px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
}

.bx-fb .bx-mono {
	font-size: 12px;
	font-weight: 700;
	color: var(--bx-muted);
}

.bx-fb[aria-current] {
	background: var(--bx-ink);
	color: var(--bx-bg);
}

.bx-fb[aria-current] .bx-mono {
	color: inherit;
	opacity: 0.75;
}

@media (hover: hover) {
	.bx-fb:not([aria-current]):hover {
		box-shadow: inset 0 0 0 2px var(--bx-ink);
		color: var(--bx-ink);
	}
}

.bx-cnt {
	margin: 0;
	font-size: 16px;
	color: var(--bx-muted);
}

/* Pagination */
.bx-pgn {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 36px !important;
}

.bx-pgn .wp-block-query-pagination-numbers {
	display: flex;
	gap: 8px;
	margin: 0 auto;
}

.bx-pgn .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 6px;
	box-sizing: border-box;
	border-radius: var(--bx-r-xs);
	background: var(--bx-band);
	color: var(--bx-ink);
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

.bx-pgn .page-numbers.current {
	background: var(--bx-ink);
	color: var(--bx-bg);
}

.bx-pgn .page-numbers.dots {
	background: none;
}

.bx-pgn .wp-block-query-pagination-previous,
.bx-pgn .wp-block-query-pagination-next {
	font-weight: 800;
	font-size: 17px;
	color: var(--bx-copper);
	text-decoration: none;
}

.bx-pgn .wp-block-query-pagination-previous:hover,
.bx-pgn .wp-block-query-pagination-next:hover {
	text-decoration: underline;
}

/* Beginner path */
.bx-path {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-st {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	background: var(--bx-card);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
	color: var(--bx-ink);
}

.bx-st > * {
	margin: 0;
}

.bx-st:not(:last-child)::before {
	content: "";
	position: absolute;
	right: -24px;
	top: 49px;
	width: 24px;
	height: 3px;
	background: var(--bx-line2);
}

.bx-st__n {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--bx-r-sm);
	background: var(--bx-tint);
	color: var(--bx-copper);
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 16px;
}

.bx-st:first-child .bx-st__n {
	background: var(--bx-orange);
	color: #222222;
}

.bx-st__k {
	font-family: var(--bx-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bx-muted);
}

.bx-st h3 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 26px;
	line-height: 1.02;
	letter-spacing: 0;
}

.bx-st p {
	font-size: 17px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-st .bx-more {
	margin-top: auto;
	padding-top: 4px;
}

.bx-path-f {
	margin: 32px 0 0;
	font-size: 17px;
	color: var(--bx-muted);
}

.bx-path-f a {
	color: var(--bx-copper);
	font-weight: 800;
	text-decoration: none;
}

.bx-path-f a:hover {
	text-decoration: underline;
}

/* Trainings at the club (ink band) */
.bx-tr {
	display: grid;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.bx-tr__r {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 22px 0;
	border-top: 1px solid rgba(250, 243, 225, 0.14);
}

.bx-tr__r:last-child {
	border-bottom: 1px solid rgba(250, 243, 225, 0.14);
}

.bx-tr__d {
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 15px;
	color: #FF8950;
}

.bx-tr__r h3 {
	margin: 0;
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 26px;
	line-height: 1.1;
	letter-spacing: 0;
	color: #FAF3E1;
}

.bx-tr__r p {
	margin: 4px 0 0;
	font-size: 16px;
	color: #C8BDA6;
}

.bx-tr__r a {
	font-weight: 800;
	font-size: 16px;
	white-space: nowrap;
	text-decoration: none;
}

.bx-tr__r a:hover {
	text-decoration: underline;
}

.bx-veriga .bx-btns {
	justify-content: center;
	margin-top: 48px !important;
}

.bx-veriga .bx-b--line .wp-block-button__link {
	color: #FAF3E1;
	box-shadow: inset 0 0 0 2px rgba(250, 243, 225, 0.35);
}

@media (hover: hover) {
	.bx-veriga .bx-b--line .wp-block-button__link:hover {
		color: #FAF3E1;
		box-shadow: inset 0 0 0 2px #FAF3E1;
	}
}

/* News: pinned card in the page top */
.bx-pinned {
	display: grid;
	gap: 14px;
	padding: 28px;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: 0 30px 60px -28px rgba(34, 34, 34, 0.6);
}

.bx-pinned > * {
	margin: 0;
}

.bx-pinned--dg {
	box-shadow: inset 0 0 0 2px var(--bx-danger), 0 30px 60px -28px rgba(34, 34, 34, 0.6);
}

.bx-pinned__h,
.bx-pinned__f,
.bx-nw__f {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.bx-pinned__f {
	padding-top: 14px;
	border-top: 1px solid var(--bx-line);
}

.bx-pinned h2 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 34px;
	line-height: 1;
	letter-spacing: 0;
	text-wrap: balance;
}

.bx-pinned--dg h2 {
	color: var(--bx-danger);
}

.bx-pinned p {
	font-size: 18px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-more {
	white-space: nowrap;
}

/* News: kind tag */
.bx-tg {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-tint);
	color: var(--bx-copper);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}

.bx-tg--dg {
	background: transparent;
	color: var(--bx-danger);
	box-shadow: inset 0 0 0 2px var(--bx-danger);
}

/* News: list and sidebar */
.bx-nx {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: 48px;
	align-items: start;
}

.bx-nx > * {
	margin: 0 !important;
}

.bx-nl {
	display: grid;
	gap: 20px;
}

.bx-nl > * {
	margin: 0 !important;
}

.bx-nw {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	overflow: hidden;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-nw__d {
	display: grid;
	place-content: center;
	gap: 6px;
	padding: 20px 8px;
	text-align: center;
	background: var(--bx-band);
	color: var(--bx-ink);
}

.bx-nw__d b {
	font-weight: 900;
	font-size: 52px;
	line-height: 0.85;
}

.bx-nw__d span {
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bx-nw--dg .bx-nw__d {
	background: var(--bx-danger);
	color: var(--bx-bg);
}

.bx-nw__b {
	display: grid;
	gap: 10px;
	min-width: 0;
	padding: 24px 28px;
}

.bx-nw__b > * {
	margin: 0;
}

.bx-nw__b h3 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 30px;
	line-height: 1.02;
	letter-spacing: 0;
	text-wrap: balance;
}

.bx-nw__b p {
	font-size: 18px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-as {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 24px;
}

.bx-as > * {
	margin: 0 !important;
}

.bx-box {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 28px;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-box > * {
	margin: 0;
}

.bx-box h3 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 28px;
	line-height: 1;
	letter-spacing: 0;
}

.bx-box--t {
	background: var(--bx-tint);
}

.bx-box__empty {
	font-size: 17px;
	color: var(--bx-muted);
}

.bx-mini {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding-top: 14px;
	border-top: 1px solid var(--bx-line);
}

.bx-mini__d {
	display: grid;
	place-content: center;
	gap: 2px;
	aspect-ratio: 1;
	text-align: center;
	border-radius: var(--bx-r-sm);
	background: var(--bx-band);
	color: var(--bx-ink);
}

.bx-box h3 + .bx-mini .bx-mini__d {
	background: var(--bx-orange);
	color: #222222;
}

.bx-mini__d b {
	font-weight: 900;
	font-size: 28px;
	line-height: 0.9;
}

.bx-mini__d span {
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bx-mini h4 {
	margin: 0;
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 19px;
	line-height: 1.1;
}

.bx-mini h4 a {
	color: inherit;
	text-decoration: none;
}

.bx-mini h4 a:hover {
	text-decoration: underline;
}

.bx-mini p {
	margin: 3px 0 0;
	font-size: 15px;
	line-height: 1.35;
	color: var(--bx-muted);
}

.bx-gd {
	display: grid;
	gap: 12px;
}

.bx-gd .bx-th {
	border-radius: var(--bx-r-sm);
}

.bx-gd h4 {
	margin: 0;
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 22px;
	line-height: 1.05;
}

.bx-lk-l {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-lk-l a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	border-top: 1px solid var(--bx-line);
	color: var(--bx-ink);
	font-weight: 800;
	font-size: 18px;
	text-decoration: none;
}

.bx-lk-l a:hover {
	text-decoration: underline;
}

.bx-lk-l a span {
	font-family: var(--bx-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bx-copper);
}

/* The last section (cream on the news page) meets the contact band without the block gap. */
body.bx-has-top .wp-site-blocks > footer {
	margin-block-start: 0;
}

/* The channels head on the news page has an eyebrow above the heading. */
.bx-ch-l .bx-head {
	margin: 0;
}

/* Post archives: tablet */
@media (max-width: 1024px) {
	.bx-fv {
		justify-self: center;
		max-width: 560px;
		padding: 28px 0 0;
	}

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

	.bx-st::before {
		display: none;
	}

	.bx-nx {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.bx-as {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bx-as > :first-child {
		grid-column: span 2;
	}
}

/* Post archives: phone */
@media (max-width: 640px) {
	.bx-fv {
		padding: 20px 0 0;
	}

	.bx-fc h2 {
		font-size: 25px;
	}

	.bx-lib-h {
		margin-bottom: 24px;
	}

	.bx-fl {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(-1 * var(--bx-gutter));
		padding: 0 var(--bx-gutter) 6px;
		scrollbar-width: none;
	}

	/* Guide cards turn into rows: thumbnail on the left, title and level on the right. */
	.bx-ls.bx-ls--lib {
		gap: 12px;
	}

	.bx-lc--lib {
		flex-direction: row;
	}

	.bx-lc--lib .bx-th {
		width: 128px;
		flex: none;
		aspect-ratio: auto;
		min-height: 112px;
	}

	.bx-lc--lib .bx-th__play {
		width: 40px;
		height: 40px;
		margin: -20px 0 0 -20px;
	}

	.bx-lc--lib .bx-th__play::after {
		left: 16px;
		top: 13px;
		border-width: 7px 0 7px 11px;
	}

	.bx-lc--lib .bx-lc__b p,
	.bx-lc--lib .bx-lc__m .bx-more,
	.bx-lc--lib .bx-tp {
		display: none;
	}

	.bx-lc--lib .bx-lc__b {
		gap: 6px;
		min-width: 0;
		padding: 14px 16px;
		grid-template-rows: auto auto 1fr;
	}

	.bx-lc--lib h3 {
		font-size: 20px;
		line-height: 1.05;
	}

	.bx-lc--lib .bx-lc__m {
		margin-top: 2px !important;
		padding-top: 0;
		border-top: 0;
	}

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

	.bx-tr__r {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.bx-veriga .bx-btns {
		flex-direction: column;
	}

	.bx-veriga .bx-btns .wp-block-button,
	.bx-veriga .bx-btns .wp-block-button__link {
		width: 100%;
	}

	.bx-pinned {
		padding: 22px;
	}

	.bx-pinned h2 {
		font-size: 28px;
	}

	.bx-nl {
		gap: 14px;
	}

	.bx-nw {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.bx-nw__d b {
		font-size: 38px;
	}

	.bx-nw__d span {
		font-size: 11px;
	}

	.bx-nw__b {
		padding: 18px;
	}

	.bx-nw__b h3 {
		font-size: 23px;
	}

	.bx-nw__b p {
		font-size: 16px;
	}

	.bx-nw__f .bx-more {
		display: none;
	}

	.bx-pgn {
		justify-content: center;
	}

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

	.bx-as > :first-child {
		grid-column: auto;
	}

	.bx-box {
		padding: 22px;
	}
}

/* ==========================================================================
   Single posts: „Учебен материал“ and „Новина“ (StudyPost.dc.html and
   NewsPost.dc.html in the canvas). Templates single-uchebni-materiali and
   single-novini, blocks in inc/single.php. The body is the post content:
   guides usually come from video2aeo, so its classes (aeo-*) and anchors
   (#sadarzhanie, #chesto-zadavani-vaprosi) are styled here.
   ========================================================================== */

/* Page top */
.bx-h1.bx-h1--post {
	max-width: none;
	font-size: 80px;
	/* Cyrillic descenders (д, р, у, ц) reach into the next line at 0.92; the
	   title often wraps to two or three lines. */
	line-height: 1.08;
	color: #222222;
}

.bx-h1.bx-h1--news {
	font-size: 72px;
}

.bx-ltop__in.bx-ptop__in {
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	justify-items: start;
	align-items: start;
	padding-bottom: 216px;
}

.bx-ptop__in > * {
	max-width: 900px;
}

.bx-plead p {
	margin: 0;
}

.bx-ltop.bx-surf-or .bx-plead,
.bx-surf-or .bx-tp {
	color: #222222;
}

.bx-pmeta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}

.bx-pmeta .bx-date {
	font-size: 14px;
	color: inherit;
}

.bx-pmeta i {
	display: block;
	width: 6px;
	height: 6px;
	background: currentColor;
	opacity: 0.45;
}

.bx-surf-or .bx-pmeta {
	color: #222222;
}

/* The guide's video lies over the lower edge of the page top */
.bx-pbody {
	position: relative;
}

.bx-pvid {
	position: relative;
	z-index: 2;
	margin-top: -176px !important;
}

.bx-pvid .bx-fv__a {
	left: -36px;
	top: -40px;
	width: 120px;
}

.bx-pvid .bx-fv__b {
	right: -28px;
	top: 56px;
	bottom: auto;
	width: 76px;
}

/* Click-to-load YouTube player (also used for any YouTube embed in the content) */
.bx-yt {
	position: relative;
	margin: 0;
}

.bx-yt__btn,
.bx-yt__if {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 0;
	border-radius: var(--bx-r-lg);
	background: #222222;
	box-shadow: 0 30px 60px -28px rgba(34, 34, 34, 0.6);
}

.bx-yt__btn img,
.bx-yt__btn .bx-yt__th {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bx-yt__btn .bx-yt__th {
	aspect-ratio: auto;
}

.bx-yt__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 96px;
	height: 96px;
	margin: -48px 0 0 -48px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-orange);
	box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
	transition: background-color 0.15s ease;
}

.bx-yt__play::after {
	content: "";
	position: absolute;
	left: 39px;
	top: 31px;
	border-style: solid;
	border-width: 17px 0 17px 26px;
	border-color: transparent transparent transparent #222222;
}

@media (hover: hover) {
	.bx-yt__btn:hover .bx-yt__play {
		background: var(--bx-or-lite);
	}
}

.bx-yt__src {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 5px 9px;
	border-radius: var(--bx-r-xs);
	background: rgba(34, 34, 34, 0.85);
	color: #FAF3E1;
	font-family: var(--bx-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bx-yt__c {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 24px;
	margin-top: 16px;
	font-size: 16px;
	color: var(--bx-muted);
}

.bx-prose .bx-yt {
	margin-block: 32px 36px;
}

.bx-prose .bx-yt__play {
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
}

.bx-prose .bx-yt__play::after {
	left: 26px;
	top: 21px;
	border-width: 11px 0 11px 17px;
}

/* Article + sidebar */
.bx-ax {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: 64px;
	align-items: start;
	padding-block: 64px 112px;
}

.bx-post--news .bx-ax {
	padding-top: 80px;
}

.bx-ax > *,
.bx-ax__main > * {
	margin: 0 !important;
}

.bx-ax__main > .bx-af {
	margin-top: 48px !important;
}

.bx-ax__main > .bx-nxt,
.bx-ax__main > .bx-pn {
	margin-top: 40px !important;
}

/* Prose: the post content */
.bx-prose {
	max-width: 720px;
	font-size: 20px;
	line-height: 1.6;
	color: var(--bx-ink);
}

.bx-prose > * {
	max-width: none;
	margin-block: 0 20px;
}

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

.bx-prose > h2 {
	margin: 48px 0 16px;
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 40px;
	line-height: 1.02;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

.bx-prose > h3 {
	margin: 32px 0 10px;
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: 0;
}

.bx-prose :where(ul, ol).wp-block-list {
	display: grid;
	gap: 12px;
	margin-bottom: 24px;
	padding: 0;
	list-style: none;
}

.bx-prose ul.wp-block-list > li {
	position: relative;
	padding-left: 30px;
}

.bx-prose ul.wp-block-list > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.62em;
	width: 10px;
	height: 10px;
	border-radius: var(--bx-r-dot);
	background: var(--bx-orange);
}

.bx-prose ol.wp-block-list {
	counter-reset: bx-ol;
}

.bx-prose ol.wp-block-list > li {
	position: relative;
	padding-left: 44px;
	counter-increment: bx-ol;
}

.bx-prose ol.wp-block-list > li::before {
	content: counter(bx-ol, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.2em;
	font-family: var(--bx-mono);
	font-size: 15px;
	font-weight: 700;
	color: var(--bx-copper);
}

.bx-prose :where(p, li, td, th, cite, dd) a {
	color: var(--bx-copper);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bx-prose strong {
	font-weight: 800;
}

.bx-prose :where(figcaption, .wp-element-caption) {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--bx-muted);
}

.bx-prose .wp-block-image img,
.bx-prose .wp-block-gallery img {
	border-radius: var(--bx-r-sm);
}

.bx-prose .wp-block-gallery {
	margin-block: 36px 40px;
	gap: 12px;
}

.bx-prose .wp-block-table {
	overflow-x: auto;
}

.bx-prose .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 17px;
	line-height: 1.4;
}

.bx-prose .wp-block-table :is(th, td) {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--bx-line);
	text-align: left;
	vertical-align: top;
}

.bx-prose .wp-block-table thead th {
	background: var(--bx-band);
	font-weight: 800;
}

.bx-prose .wp-block-quote {
	margin-block: 32px;
	padding: 28px 32px;
	border: 0;
	border-radius: var(--bx-r-lg);
	background: var(--bx-card);
	box-shadow: var(--bx-shadow);
}

.bx-prose .wp-block-quote p {
	margin: 0;
	font-weight: 800;
	font-size: 24px;
	line-height: 1.3;
}

.bx-prose .wp-block-quote cite {
	display: block;
	margin-top: 12px;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bx-copper);
}

/* video2aeo: the short answer first („Накратко“) */
.bx-prose .aeo-answer {
	margin-bottom: 40px;
	padding: 28px 32px;
	border-radius: var(--bx-r-lg);
	background: var(--bx-tint);
	font-weight: 700;
	font-size: 23px;
	line-height: 1.4;
}

.bx-prose .aeo-answer > strong:first-child {
	display: block;
	margin-bottom: 10px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bx-copper);
}

.bx-prose .aeo-intro {
	font-weight: 600;
	font-size: 22px;
	line-height: 1.5;
}

/* video2aeo: freshness / editorial note */
.bx-prose .aeo-note {
	position: relative;
	min-height: 88px;
	margin-block: 8px 32px;
	padding: 22px 24px 22px 84px;
	border-radius: var(--bx-r-lg);
	background: var(--bx-bg2);
	font-size: 17px;
	line-height: 1.45;
	color: var(--bx-muted);
}

.bx-prose .aeo-note::before {
	content: "i";
	position: absolute;
	left: 24px;
	top: 22px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-ink);
	color: var(--bx-bg);
	font-family: var(--bx-mono);
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
}

.bx-prose .aeo-note em,
.bx-prose .aeo-disclaimer em {
	font-style: normal;
}

.bx-prose .aeo-section-answer {
	font-weight: 700;
}

.bx-prose .aeo-watch {
	font-size: 16px;
}

.bx-prose .aeo-watch a {
	font-weight: 800;
	text-decoration: none;
}

.bx-prose .aeo-watch a:hover {
	text-decoration: underline;
}

.bx-prose .aeo-author {
	margin: 0;
	padding-block: 14px;
	border-top: 1px solid var(--bx-line);
	font-size: 18px;
}

.bx-prose .aeo-disclaimer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--bx-line);
	font-size: 15px;
	color: var(--bx-muted);
}

/* video2aeo: chapter list in the body (the sidebar shows it on desktop) */
.bx-prose #sadarzhanie + .wp-block-list {
	gap: 0;
}

.bx-prose #sadarzhanie + .wp-block-list > li {
	padding: 10px 0;
	border-top: 1px solid var(--bx-line);
	font-size: 18px;
}

.bx-prose #sadarzhanie + .wp-block-list > li::before {
	display: none;
}

.bx-prose #sadarzhanie + .wp-block-list > li a {
	display: inline-block;
	min-width: 58px;
	font-family: var(--bx-mono);
	font-size: 15px;
	text-decoration: none;
}

@media (min-width: 1025px) {
	.bx-ax:has(.bx-chap) .bx-prose :is(#sadarzhanie, #sadarzhanie + .wp-block-list) {
		display: none;
	}
}

/* video2aeo: FAQ. Without the script every answer shows; with it, an accordion. */
.bx-prose #chesto-zadavani-vaprosi ~ h3 {
	margin: 0;
	padding: 18px 0 8px;
	border-top: 1px solid var(--bx-line);
	font-size: 22px;
	line-height: 1.2;
}

.bx-prose #chesto-zadavani-vaprosi ~ h3 + p {
	padding-bottom: 6px;
	font-size: 18px;
	line-height: 1.5;
	color: var(--bx-muted);
}

.bx-prose h3.bx-faq__h {
	padding: 0;
}

.bx-faq__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 64px;
	padding: 14px 0;
	border: 0;
	background: none;
	color: var(--bx-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.bx-faq__pm {
	position: relative;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-band);
}

.bx-faq__pm::before,
.bx-faq__pm::after {
	content: "";
	position: absolute;
	left: 11px;
	top: 17px;
	width: 14px;
	height: 2px;
	background: currentColor;
}

.bx-faq__pm::after {
	transform: rotate(90deg);
}

.bx-faq__q[aria-expanded="true"] .bx-faq__pm {
	background: var(--bx-ink);
	color: var(--bx-bg);
}

.bx-faq__q[aria-expanded="true"] .bx-faq__pm::after {
	display: none;
}

@media (hover: hover) {
	.bx-faq__q:hover {
		text-decoration: underline;
		text-underline-offset: 4px;
	}
}

/* Transcript and other Details blocks */
.bx-prose .wp-block-details {
	padding: 0 24px;
	border-radius: var(--bx-r-lg);
	background: var(--bx-bg2);
}

.bx-prose .wp-block-details summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	font-weight: 800;
	font-size: 18px;
	cursor: pointer;
	list-style: none;
}

.bx-prose .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.bx-prose .wp-block-details summary::before {
	content: "+";
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: var(--bx-r-xs);
	background: var(--bx-band);
	font-family: var(--bx-mono);
	font-weight: 700;
}

.bx-prose .wp-block-details[open] summary::before {
	content: "−";
	background: var(--bx-ink);
	color: var(--bx-bg);
}

.bx-prose .wp-block-details[open] {
	padding-bottom: 8px;
}

.bx-prose .wp-block-details p {
	margin: 0 0 14px;
	font-size: 17px;
	color: var(--bx-muted);
}

/* Share and „Пиши ни“ */
.bx-af {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px 24px;
	max-width: 720px;
	padding-top: 24px;
	border-top: 1px solid var(--bx-line);
}

.bx-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.bx-share__l {
	margin-right: 4px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bx-muted);
}

.bx-sb {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--bx-r-xs);
	background: var(--bx-band);
	color: var(--bx-ink);
	font-family: var(--bx-sans);
	font-weight: 800;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.bx-sb[hidden] {
	display: none;
}

.bx-sb.is-ok {
	background: var(--bx-ink);
	color: var(--bx-bg);
}

@media (hover: hover) {
	.bx-sb:not(.is-ok):hover {
		box-shadow: inset 0 0 0 2px var(--bx-ink);
	}
}

.bx-fix {
	margin: 0;
	font-size: 16px;
	color: var(--bx-muted);
}

.bx-fix a {
	color: var(--bx-copper);
	font-weight: 800;
	text-decoration: none;
}

.bx-fix a:hover {
	text-decoration: underline;
}

/* „Следваща стъпка“ */
.bx-nxt {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	max-width: 720px;
	overflow: hidden;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-nxt .bx-th {
	aspect-ratio: auto;
	min-height: 160px;
}

.bx-nxt .bx-th__play {
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
}

.bx-nxt .bx-th__play::after {
	left: 19px;
	top: 16px;
	border-width: 8px 0 8px 13px;
}

.bx-nxt__b {
	display: grid;
	align-content: center;
	gap: 8px;
	padding: 24px 28px;
}

.bx-nxt__b > * {
	margin: 0;
}

.bx-nxt h3 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 28px;
	line-height: 1.02;
	letter-spacing: 0;
	text-wrap: balance;
}

.bx-nxt__b > p:not(.bx-eyebrow) {
	font-size: 17px;
	line-height: 1.45;
	color: var(--bx-muted);
}

/* Newer / older news */
.bx-pn {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 720px;
}

.bx-pn__a {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 22px 24px;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-pn__a > * {
	margin: 0;
}

.bx-pn__a--r {
	justify-items: end;
	text-align: right;
}

.bx-pn__a h3 {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 23px;
	line-height: 1.08;
	letter-spacing: 0;
	text-wrap: balance;
}

/* Sidebar: facts and chapters */
.bx-facts {
	display: grid;
	margin: 0;
}

.bx-facts > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid var(--bx-line);
	font-size: 17px;
	line-height: 1.3;
}

.bx-facts dt {
	color: var(--bx-muted);
}

.bx-facts dd {
	margin: 0;
	font-weight: 800;
	text-align: right;
}

.bx-facts dd a {
	color: inherit;
}

.bx-facts dd .bx-date {
	font-size: 14px;
	color: var(--bx-ink);
}

.bx-facts--l > div {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
}

.bx-facts--l dd {
	text-align: left;
}

.bx-chap ol {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-chap a {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 10px;
	align-items: baseline;
	min-height: 48px;
	padding: 11px 0;
	border-top: 1px solid var(--bx-line);
	color: var(--bx-ink);
	text-decoration: none;
	box-sizing: border-box;
}

.bx-chap .bx-mono {
	font-size: 14px;
	font-weight: 700;
	color: var(--bx-copper);
}

.bx-chap a span:last-child {
	font-weight: 700;
	font-size: 17px;
	line-height: 1.25;
}

.bx-chap a:hover span:last-child {
	text-decoration: underline;
}

/* News page top: the cover image */
.bx-cov {
	position: relative;
	display: grid;
	margin: 0;
	overflow: hidden;
	background: var(--bx-card);
	color: var(--bx-ink);
	border-radius: var(--bx-r-lg);
	box-shadow: 0 30px 60px -28px rgba(34, 34, 34, 0.6);
}

.bx-cov figcaption {
	padding: 14px 20px;
	font-size: 15px;
	color: var(--bx-muted);
}

/* „Още за …“ / „Още от клуба“ */
.bx-more-posts .bx-ls-f {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

.bx-ls--more {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-nl--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.bx-nl--3 .bx-nw {
	grid-template-columns: 96px minmax(0, 1fr);
}

.bx-nl--3 .bx-nw__d b {
	font-size: 44px;
}

.bx-nl--3 .bx-nw__b {
	align-content: start;
	padding: 22px 24px;
}

.bx-nl--3 .bx-nw__b h3 {
	font-size: 25px;
	line-height: 1.04;
}

.bx-nl--3 .bx-nw__b > p {
	display: none;
}

/* Single posts: tablet */
@media (max-width: 1024px) {
	.bx-h1.bx-h1--post {
		font-size: 64px;
	}

	.bx-h1.bx-h1--news {
		font-size: 60px;
	}

	.bx-ltop__in.bx-ptop__in {
		padding-bottom: 160px;
	}

	.bx-pvid {
		margin-top: -120px !important;
	}

	.bx-ax {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
		padding-block: 56px 88px;
	}

	.bx-post--news .bx-ax {
		padding-top: 64px;
	}

	.bx-chap {
		display: none !important;
	}

	.bx-nl--3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* Single posts: phone */
@media (max-width: 640px) {
	.bx-h1.bx-h1--post,
	.bx-h1.bx-h1--news {
		font-size: 44px;
		line-height: 1.08;
	}

	.bx-ltop__in.bx-ptop__in {
		gap: 18px;
		padding-bottom: 112px;
	}

	.bx-pmeta {
		gap: 6px 16px;
		font-size: 16px;
	}

	.bx-pvid {
		margin-top: -84px !important;
	}

	.bx-pvid .bx-fv__a,
	.bx-pvid .bx-fv__b {
		display: none;
	}

	.bx-yt__play {
		width: 64px;
		height: 64px;
		margin: -32px 0 0 -32px;
	}

	.bx-yt__play::after {
		left: 26px;
		top: 21px;
		border-width: 11px 0 11px 17px;
	}

	.bx-yt__src {
		left: 10px;
		bottom: 10px;
	}

	.bx-ax {
		gap: 40px;
		padding-block: 40px 72px;
	}

	.bx-post--news .bx-ax {
		padding-top: 48px;
	}

	.bx-prose {
		font-size: 19px;
	}

	.bx-prose > h2 {
		margin-top: 40px;
		font-size: 32px;
	}

	.bx-prose .aeo-answer {
		padding: 22px;
		font-size: 19px;
	}

	.bx-prose .aeo-note {
		padding: 76px 20px 20px;
	}

	.bx-prose .aeo-note::before {
		left: 20px;
		top: 20px;
	}

	.bx-prose #chesto-zadavani-vaprosi ~ h3 {
		font-size: 19px;
	}

	.bx-af {
		flex-direction: column;
		align-items: flex-start;
	}

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

	.bx-nxt .bx-th {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.bx-nxt__b {
		padding: 20px;
	}

	.bx-nxt h3 {
		font-size: 24px;
	}

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

	.bx-pn__a--r {
		justify-items: start;
		text-align: left;
	}

	.bx-nl--3 .bx-nw {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.bx-nl--3 .bx-nw__b {
		padding: 18px;
	}

	.bx-nl--3 .bx-nw__b h3 {
		font-size: 22px;
	}
}

/* ==========================================================================
   Plain text pages (privacy policy, 404): templates page and 404.
   The page top is orange with the dump, like the other sub-pages (2026-11-15):
   the header lies over it (the body:has rules above), then the page body on
   --bx-bg with a reading column.
   ========================================================================== */

.bx-plain {
	padding: 0;
	min-height: 0;
}

.bx-plain-top {
	background: var(--bx-band);
	color: var(--bx-ink);
	padding-block: calc(var(--bx-nav-h) + 40px) 72px;
}

.bx-plain-top__in {
	position: relative;
	display: grid;
	gap: 22px;
	justify-items: start;
}

.bx-plain-top__in > * {
	margin: 0 !important;
}

.bx-plain-crumb {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	align-items: baseline;
}

.bx-plain-crumb p,
.bx-plain-crumb__t {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	color: var(--bx-muted);
}

.bx-h1.bx-h1--plain {
	max-width: 16em;
	font-size: 80px;
	color: var(--bx-ink);
}

.bx-plain-body {
	background: var(--bx-bg);
	padding-block: 80px var(--bx-sec);
}

.bx-prose > p.bc-policy__updated {
	display: inline-block;
	margin-bottom: 32px;
	padding: 6px 12px;
	background: var(--bx-bg2);
	border-radius: var(--bx-r-xs);
	font-family: var(--bx-mono);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--bx-muted);
}

/* 404 and similar: the prose class sits on a .bx-wrap */
.bx-plain-body > .bx-wrap.bx-prose {
	max-width: calc(1200px + 2 * var(--bx-gutter));
}

.bx-plain-body > .bx-wrap.bx-prose > * {
	max-width: 720px;
}

@media (max-width: 1024px) {
	.bx-plain-top {
		padding-bottom: 56px;
	}

	.bx-h1.bx-h1--plain {
		font-size: 60px;
	}

	.bx-plain-body {
		padding-block: 64px 88px;
	}
}

@media (max-width: 640px) {
	.bx-plain-top {
		padding-bottom: 40px;
	}

	.bx-h1.bx-h1--plain {
		font-size: 44px;
	}

	.bx-plain-body {
		padding-block: 48px 72px;
	}
}

/* Search and generic archives: same page top, flat cards and square search */
.bx-plain-top .bx-lead p {
	margin: 0;
}

.bx-search .wp-block-search__inside-wrapper {
	gap: 0;
	max-width: 560px;
}

.bx-search .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border: 2px solid var(--bx-line2);
	border-radius: var(--bx-r-xs) 0 0 var(--bx-r-xs);
	background: var(--bx-bg);
	color: var(--bx-ink);
	font: 600 18px var(--bx-sans);
}

.bx-search .wp-block-search__button {
	height: 52px;
	margin: 0;
	padding: 0 28px;
	border: 0;
	border-radius: 0 var(--bx-r-xs) var(--bx-r-xs) 0;
	background: var(--bx-ink);
	color: var(--bx-bg);
	font: 800 18px var(--bx-sans);
}

.bx-search .wp-block-search__button:hover {
	background: #3A3633;
}

.bx-search :focus-visible {
	outline: 3px solid var(--bx-focus);
	outline-offset: 3px;
}

.bx-plain-body.bc-archive {
	padding-block: 64px var(--bx-sec);
	background: var(--bx-bg);
}

.bx-plain-body .bc-posts__grid {
	gap: 24px;
}

.bx-plain-body .bc-post-card {
	border: 0;
	border-radius: var(--bx-r-lg);
	background: var(--bx-card);
	box-shadow: var(--bx-shadow);
	overflow: hidden;
}

.bx-plain-body .bc-post-card__image img {
	border-radius: 0;
}

.bx-plain-body .bc-post-card__body {
	padding: 22px;
}

.bx-plain-body .bc-post-card__date {
	font-family: var(--bx-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--bx-muted);
}

.bx-plain-body .bc-post-card__title {
	font-family: var(--bx-sans);
	font-weight: 900;
	font-size: 26px;
	line-height: 1.15;
}

.bx-plain-body .bc-post-card__title a {
	color: var(--bx-ink);
	text-decoration: none;
}

.bx-plain-body .bc-post-card__title a:hover {
	text-decoration: underline;
}

.bx-plain-body .bc-pagination .page-numbers,
.bx-plain-body .bc-pagination :is(.wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
	border-radius: var(--bx-r-xs);
	box-shadow: none;
}

.bx-plain-body .bc-empty {
	font-size: 19px;
}

/* Default single post (template single): page top, flat image, prose, neighbours */
.bx-plain-crumb__t a {
	color: var(--bx-copper);
	font-weight: 700;
	text-decoration: none;
}

.bx-plain-crumb__t a:hover {
	text-decoration: underline;
}

.bx-single__date {
	margin: 0;
	font-size: 14px;
}

.bx-single__image {
	max-width: 960px;
	margin: 0 0 48px;
}

.bx-single__image img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	border-radius: var(--bx-r-lg);
	box-shadow: var(--bx-shadow);
}

.bx-single__nav {
	max-width: 720px;
	margin-top: 64px;
	padding-top: 28px;
	border-top: 1px solid var(--bx-line);
	gap: 16px 32px;
	font-size: 17px;
	font-weight: 700;
}

.bx-single__nav a {
	color: var(--bx-copper);
	text-decoration: none;
}

.bx-single__nav a:hover {
	text-decoration: underline;
}

.bx-single__nav .post-navigation-link__label {
	display: block;
	font-family: var(--bx-mono);
	font-size: 13px;
	color: var(--bx-muted);
}

.bx-single__nav .post-navigation-link-next {
	margin-left: auto;
	text-align: right;
}

/* ==========================================================================
   404: "Тази страница я няма". The orange page top carries a small scene of a
   chain fork, drawn right to left like every chain on the site (oldest on the
   right): a real fork (23 March 2026, parent #941880): Foundry's #941881 continues to
   #941882 and on (the fading link), AntPool's #941881 is the orphan; the parent
   also has a fading link back to its own parent (below, dashed link) and drifts away. Pure CSS/SVG,
   drawn on a 500x400 grid. Motion only when the visitor has not asked for less.
   ========================================================================== */

.bx-lost {
	position: relative;
	container-type: inline-size;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 560 / 395;
	justify-self: end;
	color: #222222;
}

.bx-lost__wires {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.bx-lost__w {
	fill: none;
	stroke: rgba(34, 34, 34, 0.6);
	stroke-width: 3;
}

.bx-lost__w--cut {
	stroke-dasharray: 9 8;
}

/* The chain goes on to the left: the link fades out past #404. */
.bx-lost__w--more {
	stroke: url(#bx-lost-more);
}

/* ...and it comes from older blocks on the right: nothing starts at the first block shown. */
.bx-lost__w--past {
	stroke: url(#bx-lost-past);
}

.bx-lost__blk {
	position: absolute;
	display: grid;
	align-content: end;
	gap: 4px;
	width: 17.86%;
	aspect-ratio: 1;
	padding: 2.2cqw;
	box-sizing: border-box;
	background: #FFFCF3;
	color: #222222;
	box-shadow: 0 18px 30px -18px rgba(34, 34, 34, 0.55);
	border-radius: var(--bx-r-md);
	font-family: var(--bx-mono);
}

.bx-lost__a { left: 71.43%; top: 30.38%; }
.bx-lost__b { left: 44.64%; top: 10.13%; }
.bx-lost__c { left: 17.86%; top: 10.13%; }

.bx-lost__orphan {
	position: absolute;
	left: 44.64%;
	top: 50.63%;
	width: 17.86%;
}

.bx-lost__orphan .bx-lost__blk {
	position: relative;
	width: 100%;
}

.bx-lost__blk b {
	position: absolute;
	bottom: calc(100% + 2px);
	left: 0;
	right: 0;
	text-align: center;
	font-size: clamp(11px, 2.9cqw, 15px);
	font-weight: 700;
	white-space: nowrap;
}

.bx-lost__blk small {
	font-size: clamp(9px, 2.3cqw, 12px);
	color: var(--bx-muted);
}

.bx-lost__blk strong {
	font-family: var(--bx-sans);
	font-size: 9cqw;
	font-weight: 800;
	line-height: 1;
}

.bx-lost__blk--ink {
	background: #222222;
	color: #FAF3E1;
}

.bx-lost__blk--ink small {
	color: #FF8950;
}

.bx-lost__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: right;
}

.bx-lost__stars {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.bx-lost__stars i {
	position: absolute;
	width: 8px;
	height: 8px;
	background: #222222;
	opacity: 0.35;
}

.bx-lost__stars i:nth-child(1) { top: 4%; left: 28%; }
.bx-lost__stars i:nth-child(2) { top: 56%; left: 78%; width: 5px; height: 5px; }
.bx-lost__stars i:nth-child(3) { top: 80%; left: 6%; width: 5px; height: 5px; }
.bx-lost__stars i:nth-child(4) { top: 90%; left: 52%; }
.bx-lost__stars i:nth-child(5) { top: 70%; left: 94%; width: 5px; height: 5px; }
.bx-lost__stars i:nth-child(6) { top: 46%; left: 24%; width: 4px; height: 4px; }

@media (prefers-reduced-motion: no-preference) {
	.bx-lost__orphan {
		animation: bx-lost-drift 9s ease-in-out infinite;
	}

	.bx-lost__orphan .bx-lost__blk {
		animation: bx-lost-spin 14s ease-in-out infinite;
	}

	.bx-lost__w--cut {
		animation: bx-lost-snap 9s ease-in-out infinite;
	}

	.bx-lost__stars i {
		animation: bx-lost-twinkle 3.4s ease-in-out infinite;
	}

	.bx-lost__stars i:nth-child(2n) { animation-delay: -1.2s; }
	.bx-lost__stars i:nth-child(3n) { animation-delay: -2.3s; }
}

@keyframes bx-lost-drift {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-3cqw, 5cqw); }
}

@keyframes bx-lost-spin {
	0%, 100% { transform: rotate(-6deg); }
	50% { transform: rotate(9deg); }
}

@keyframes bx-lost-snap {
	0%, 100% { stroke-dashoffset: 0; opacity: 1; }
	50% { stroke-dashoffset: -34; opacity: 0.35; }
}

@keyframes bx-lost-twinkle {
	0%, 100% { opacity: 0.12; transform: scale(0.8); }
	50% { opacity: 0.5; transform: scale(1.25); }
}

@media (max-width: 1024px) {
	.bx-lost {
		justify-self: start;
	}

	.bx-lost__cap {
		text-align: left;
	}
}

.bx-lost-find {
	padding-block: 72px;
}

.bx-lost-find__p {
	max-width: 48rem;
	margin: 0 !important;
	font-size: 22px;
	color: var(--bx-muted);
}

.bx-lost-find__h {
	max-width: none;
	margin: 0 0 16px !important;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.05;
}

@media (max-width: 640px) {
	.bx-lost-find {
		padding-block: 48px;
	}

	.bx-lost-find__h {
		font-size: 34px;
	}

	.bx-lost-find__p {
		font-size: 19px;
	}
}

/* ==========================================================================
   "Скоро отваряме" (template coming-soon): the orange page top over the
   genesis dump, filling the screen, with a block being mined.
   ========================================================================== */

.bx-soon {
	min-height: 100svh;
	display: flex;
	align-items: center;
}

.bx-soon__in {
	position: relative;
	display: grid;
	gap: 24px;
	justify-items: start;
	width: 100%;
	padding-block: 64px;
}

.bx-soon__in > * {
	margin: 0 !important;
}

.bx-soon .bx-lead,
.bx-soon .bx-lead a {
	color: #222222;
}

.bx-soon .bx-lead {
	max-width: 36rem;
	font-size: 22px;
}

.bx-soon .bx-lead a {
	font-weight: 800;
	text-underline-offset: 3px;
}

.bx-soon__mine {
	display: grid;
	grid-template-columns: repeat(6, 22px);
	gap: 6px;
	padding: 14px;
	background: #FFFCF3;
	border-radius: var(--bx-r-md);
	box-shadow: 0 18px 30px -18px rgba(34, 34, 34, 0.55);
}

.bx-soon__mine span {
	height: 22px;
	background: #222222;
	opacity: 0.12;
}

@media (prefers-reduced-motion: no-preference) {
	.bx-soon__mine span {
		animation: bx-soon-fill 4.8s steps(1, end) infinite;
		animation-delay: calc(var(--i) * 0.3s);
	}

	.bx-soon__mine span:nth-child(1) { --i: 0; }
	.bx-soon__mine span:nth-child(2) { --i: 1; }
	.bx-soon__mine span:nth-child(3) { --i: 2; }
	.bx-soon__mine span:nth-child(4) { --i: 3; }
	.bx-soon__mine span:nth-child(5) { --i: 4; }
	.bx-soon__mine span:nth-child(6) { --i: 5; }
	.bx-soon__mine span:nth-child(7) { --i: 6; }
	.bx-soon__mine span:nth-child(8) { --i: 7; }
	.bx-soon__mine span:nth-child(9) { --i: 8; }
	.bx-soon__mine span:nth-child(10) { --i: 9; }
	.bx-soon__mine span:nth-child(11) { --i: 10; }
	.bx-soon__mine span:nth-child(12) { --i: 11; }
}

@keyframes bx-soon-fill {
	0% { background: #222222; opacity: 0.12; }
	8%, 100% { background: var(--bx-orange); opacity: 1; }
}

/* 404: the short explanation under the scene */
.bx-lost-col {
	width: 100%;
	max-width: 560px;
	justify-self: end;
}

.bx-lost-col .bx-lost {
	justify-self: auto;
}

.bx-lost-col__why {
	margin: 20px 0 0;
	font-size: 17px;
	line-height: 1.35;
}

.bx-lost-col__why a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.bx-lost-col {
		justify-self: start;
	}
}
