/* ============================================================
   BLOG — the landing page (blogs/index.html) and every article
   page (blogs/<slug>.html), built from _build/blogs/.
   Loads after umbraco-agency.css and reuses its shared parts
   (hero, word-split headings, masked images, ticker, CTA,
   carousel, FAQ). Everything here is the `bl-` parts. Hover
   lifts use `translate`/`scale` so they never fight the
   `.reveal` transform from home.css.
   ============================================================ */

@keyframes blShow { from { opacity: 0; translate: 0 8px; } }
@keyframes blTick { from { opacity: 0.15; translate: 0 -32%; } }
@keyframes blBounce { 0% { scale: 1; } 40% { scale: 1.18; } 100% { scale: 1; } }
@keyframes blFly { 0% { translate: 0 0; opacity: 1; } 45% { translate: 26px -18px; opacity: 0; } 46% { translate: -20px 14px; opacity: 0; } 100% { translate: 0 0; opacity: 1; } }
@keyframes blMail { 0%, 100% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0); } 50% { box-shadow: 0 0 0 6px rgba(41, 171, 226, 0.16); } }
@keyframes blRec { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(255, 107, 107, 0); } }

/* ---------- shared bits: topic tag, avatars, drawn covers ---------- */
.bl-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 8px;
  background: color-mix(in srgb, var(--ac, var(--cyan)) 11%, #fff);
  color: color-mix(in srgb, var(--ac, var(--cyan)) 62%, #0a0a0f);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap;
}
.bl-tag::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--ac, var(--cyan)); }

.bl-ava { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center 10%; background: linear-gradient(160deg, #e6f4fb, #cfe9f6); }
.bl-ava--initials { display: grid; place-items: center; background: linear-gradient(140deg, var(--cyan), #1477b8); color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }

.bl-by { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.bl-by .bl-ava { width: 44px; height: 44px; font-size: 14px; }
.bl-by b { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--ink); }
.bl-by small { display: block; font-size: 12px; color: var(--muted); }

/* posts without a photo get their topic's mark on a dark grid */
.bl-cover {
  position: relative; isolation: isolate;
  display: grid; place-items: center; align-content: center; gap: 12px;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--ac) 55%, transparent), transparent 58%),
    linear-gradient(160deg, #101a2e, #0a0a0f 72%);
}
.bl-cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000, transparent 80%);
}
.bl-cover__mark {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 30px -14px color-mix(in srgb, var(--ac) 70%, transparent);
  color: #fff; font-size: 24px;
  transition: rotate 0.6s var(--ease), scale 0.6s var(--ease);
}
.bl-cover__mark img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.bl-cover b { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   LANDING HERO — search and suggestions
   ============================================================ */
.bl-hero__inner { padding-bottom: clamp(56px, 6vw, 92px); }
.bl-hero__title { max-width: 15ch; }
.bl-badge-ico { display: grid; place-items: center; border-radius: 50%; background: linear-gradient(140deg, var(--cyan), #1477b8); color: #fff; font-size: 12px; }

.bl-search {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  width: min(640px, 100%); height: 64px; margin-top: 30px; padding: 0 8px 0 22px;
  border-radius: 16px; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 24px 50px -30px rgba(16, 20, 40, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.bl-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(41, 171, 226, 0.14), 0 24px 50px -30px rgba(16, 20, 40, 0.45); }
.bl-search__ico { color: var(--cyan); font-size: 16px; }
.bl-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); }
.bl-search input::placeholder { color: #9aa1ae; }
.bl-search__kbd { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg); font-family: var(--font-body); font-size: 12px; color: var(--muted); transition: opacity 0.2s ease; }
.bl-search:focus-within .bl-search__kbd { opacity: 0; }
.bl-search__go { height: 48px; padding: 0 20px; font-size: 14px; }

.bl-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  padding: 8px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 34px 70px -24px rgba(16, 24, 40, 0.5);
  text-align: left;
  animation: blShow 0.3s var(--ease);
}
.bl-suggest li a { display: grid; grid-template-columns: 58px minmax(0, 1fr) 16px; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; transition: background 0.2s ease; }
.bl-suggest li.is-active a, .bl-suggest li a:hover { background: var(--bg); }
.bl-suggest__thumb { width: 58px; aspect-ratio: 720 / 392; border-radius: 8px; overflow: hidden; background: #0d1424; }
.bl-suggest__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bl-suggest__thumb .bl-cover__mark { width: 22px; height: 22px; border-radius: 6px; font-size: 10px; box-shadow: none; }
.bl-suggest__thumb .bl-cover__mark img { width: 12px; height: 12px; }
.bl-suggest__thumb .bl-cover b { display: none; }
.bl-suggest b { display: block; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.bl-suggest small { font-size: 12px; color: var(--muted); }
.bl-suggest mark { background: var(--cyan-soft); color: var(--cyan-deep); border-radius: 3px; }
.bl-suggest li a > i { font-size: 11px; color: var(--cyan); opacity: 0; translate: -6px 0; transition: opacity 0.25s ease, translate 0.35s var(--ease); }
.bl-suggest li.is-active a > i, .bl-suggest li a:hover > i { opacity: 1; translate: 0 0; }
.bl-suggest__all { padding: 10px 10px 4px; border-top: 1px solid var(--line); margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.bl-suggest__all kbd { padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--bg); font-family: inherit; font-size: 11px; }
.bl-suggest__none { padding: 14px 10px; font-size: 13.5px; color: var(--muted); }

.bl-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 12.5px; }
.bl-try span { margin-right: 4px; font-weight: 600; color: var(--muted); }
.bl-try button { height: 32px; padding: 0 13px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--ink); transition: border-color 0.25s ease, color 0.25s ease, translate 0.35s var(--ease); }
.bl-try button:hover { border-color: var(--cyan); color: var(--cyan-deep); translate: 0 -2px; }

/* ============================================================
   LATEST STORY + MOST POPULAR
   ============================================================ */
.bl-feat__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; }

.bl-lead { display: flex; flex-direction: column; border-radius: 28px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color 0.35s ease, box-shadow 0.35s ease; }
.bl-lead:hover { border-color: rgba(41, 171, 226, 0.4); box-shadow: 0 40px 70px -50px rgba(16, 24, 40, 0.55); }
.bl-lead__media { display: block; aspect-ratio: 1600 / 700; margin: 10px 10px 0; }
.bl-lead__body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 30px; }
.bl-lead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 12.5px; color: var(--muted); }
.bl-lead__meta em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; }
.bl-lead__title { margin-top: 14px; font-size: clamp(24px, 2.3vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; color: var(--black); text-wrap: balance; }
.bl-lead__title a { background: linear-gradient(var(--cyan), var(--cyan)) no-repeat 0 100% / 0 2px; transition: background-size 0.6s var(--ease); }
.bl-lead:hover .bl-lead__title a { background-size: 100% 2px; }
.bl-lead__excerpt { max-width: 60ch; margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.bl-lead__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 26px; }

.bl-pop { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 28px; border-radius: 28px; background: var(--black); color: #cfd5df; }
.bl-pop::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 100% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 100% 0%, #000, transparent 75%);
}
.bl-pop::after { content: ""; position: absolute; right: -160px; top: -200px; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(41, 171, 226, 0.25), transparent 65%); animation: uaPulse 8s ease-in-out infinite; }
.bl-pop__head { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; color: #fff; }
.bl-pop__head span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(41, 171, 226, 0.16); color: var(--cyan); font-size: 15px; }
.bl-pop__list { margin-top: 14px; }
.bl-pop__list li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.bl-pop__list a { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; align-items: center; gap: 12px; padding: 16px 0; }
.bl-pop__list a::after { content: ""; position: absolute; left: 46px; right: 0; bottom: -1px; height: 1px; background: var(--cyan); scale: 0 1; transform-origin: left; transition: scale 0.6s var(--ease); }
.bl-pop__n { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #5f6779; transition: color 0.3s ease; }
.bl-pop__t { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; line-height: 1.35; color: #e8eaf0; transition: color 0.3s ease; }
.bl-pop__t small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 500; color: #7d8597; }
.bl-pop__list a > i { font-size: 12px; color: var(--cyan); opacity: 0; translate: -8px 0; transition: opacity 0.3s ease, translate 0.4s var(--ease); }
.bl-pop__list a:hover .bl-pop__n, .bl-pop__list a:focus-visible .bl-pop__n { color: var(--cyan); }
.bl-pop__list a:hover .bl-pop__t, .bl-pop__list a:focus-visible .bl-pop__t { color: #fff; }
.bl-pop__list a:hover > i, .bl-pop__list a:focus-visible > i { opacity: 1; translate: 0 0; }
.bl-pop__list a:hover::after, .bl-pop__list a:focus-visible::after { scale: 1 1; }

/* the hovered popular post's photo follows the pointer */
.bl-peek {
  position: fixed; left: 0; top: 0; z-index: 70;
  width: 250px; aspect-ratio: 720 / 392; border-radius: 16px; overflow: hidden;
  pointer-events: none; opacity: 0; scale: 0.6; rotate: -8deg;
  transform: translate3d(var(--px, -999px), var(--py, -999px), 0);
  box-shadow: 0 34px 60px -24px rgba(10, 10, 15, 0.7);
  transition: opacity 0.3s ease, scale 0.5s var(--ease), rotate 0.5s var(--ease);
}
.bl-peek.is-on { opacity: 1; scale: 1; rotate: var(--tilt, -3deg); }
.bl-peek img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   ALL ARTICLES — sticky filter bar, cards, load more
   ============================================================ */
.bl-bar {
  position: sticky; top: 92px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -30px rgba(16, 20, 40, 0.45);
  transition: top 0.5s var(--ease), opacity 0.8s ease var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s);
}
.js .bl-bar { transition: top 0.5s var(--ease), opacity 0.8s ease var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s); }
.navbar-wrap.is-hidden ~ main .bl-bar { top: 14px; }

.bl-tabs { position: relative; display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bl-tabs::-webkit-scrollbar { display: none; }
.bl-tabs button { position: relative; z-index: 1; display: inline-flex; flex-shrink: 0; align-items: center; gap: 7px; height: 42px; padding: 0 13px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; transition: color 0.3s ease; }
.bl-tabs button:hover { color: var(--ink); }
.bl-tabs sup { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bg); font-size: 10.5px; font-weight: 700; color: var(--muted); vertical-align: baseline; transition: background 0.3s ease, color 0.3s ease; }
.bl-tabs button[aria-pressed="true"] { color: #fff; }
.bl-tabs button[aria-pressed="true"] sup { background: rgba(255, 255, 255, 0.16); color: #fff; }
.bl-tabs__ink {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: var(--w, 0px); height: 42px; border-radius: 12px;
  background: var(--black); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
  translate: var(--x, 0px) 0;
  transition: translate 0.55s var(--ease), width 0.55s var(--ease);
}
.bl-tabs:not(.is-ready) .bl-tabs__ink { transition: none; }
/* before the script measures the ink, the pressed tab carries its own fill */
.bl-tabs:not(.is-ready) button[aria-pressed="true"] { background: var(--black); }

.bl-tools { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
/* the search folds to its icon so the topics get the room; it opens while focused or holding a query */
.bl-find { display: flex; align-items: center; gap: 8px; width: 42px; height: 42px; padding: 0 0 0 14px; border-radius: 12px; background: var(--bg); border: 1px solid transparent; cursor: text; overflow: hidden; transition: width 0.5s var(--ease), border-color 0.3s ease, background 0.3s ease; }
.bl-find:focus-within, .bl-find:has(input:not(:placeholder-shown)) { width: 220px; padding-right: 12px; background: #fff; border-color: var(--cyan); }
.bl-find:hover i { color: var(--cyan-deep); }
.bl-find i { flex-shrink: 0; font-size: 13px; color: var(--muted); transition: color 0.25s ease; }
.bl-find input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--ink); }
.bl-sort { position: relative; }
.bl-sort select { height: 42px; padding: 0 34px 0 14px; border-radius: 12px; background: var(--bg); border: 1px solid transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; }
.bl-sort select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.bl-sort i { position: absolute; right: 13px; top: 50%; translate: 0 -50%; font-size: 10px; color: var(--muted); pointer-events: none; }
.bl-view { display: flex; padding: 3px; border-radius: 12px; background: var(--bg); }
.bl-view button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; font-size: 13px; color: var(--muted); transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.bl-view button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 10px -4px rgba(16, 20, 40, 0.25); }

.bl-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 22px; font-size: 13.5px; color: var(--muted); }
.bl-status b { color: var(--ink); }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chips button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 7px 0 12px; border-radius: 999px; background: var(--cyan-soft); font-size: 12.5px; font-weight: 600; color: var(--cyan-deep); animation: blShow 0.35s var(--ease); transition: background 0.25s ease, color 0.25s ease; }
.bl-chips button i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: rgba(18, 144, 199, 0.14); font-size: 9px; }
.bl-chips button:hover { background: var(--cyan); color: #fff; }
.bl-chips button:hover i { background: rgba(255, 255, 255, 0.2); }

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

.bl-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, translate 0.45s var(--ease), opacity 0.4s ease;
}
.bl-card[hidden] { display: none; }
/* a soft spotlight follows the pointer across the card */
.bl-card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), rgba(41, 171, 226, 0.1), transparent 60%); transition: opacity 0.4s ease; }
.bl-card:hover { translate: 0 -6px; border-color: rgba(41, 171, 226, 0.45); box-shadow: 0 34px 56px -40px rgba(41, 171, 226, 0.8); }
.bl-card:hover::before { opacity: 1; }
.bl-card:has(a:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.bl-card__media { position: relative; aspect-ratio: 720 / 392; margin: 8px 8px 0; border-radius: 18px; overflow: hidden; background: #0d1424; }
.bl-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease); }
.bl-card:hover .bl-card__media > img { scale: 1.06; }
.bl-card:hover .bl-cover__mark { rotate: -8deg; scale: 1.08; }
.bl-card__new { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--cyan); box-shadow: 0 8px 16px -6px rgba(41, 171, 226, 0.8); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.bl-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.bl-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bl-card__meta em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.bl-card__title { margin-top: 14px; font-size: 18px; font-weight: 700; line-height: 1.32; color: var(--black); text-wrap: pretty; }
.bl-card__title a { transition: color 0.3s ease; }
.bl-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.bl-card__title a:focus-visible { outline: none; }
.bl-card:hover .bl-card__title a { color: var(--cyan-deep); }
.bl-card__excerpt { display: -webkit-box; overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--text); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bl-card__by { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; font-size: 12px; color: var(--muted); }
.bl-card__by b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.bl-card__by time { display: block; }
.bl-card__go { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; margin-left: auto; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--ink); transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, rotate 0.5s var(--ease); }
.bl-card:hover .bl-card__go { background: var(--cyan); border-color: var(--cyan); color: #fff; rotate: -45deg; }

/* only the first page shows until the script has sorted the grid; then cards rise in turn when it's first seen */
.js .bl-grid:not(.is-ready) .bl-card:nth-child(n + 10) { display: none; }
.js .bl-grid:not(.is-in) .bl-card { opacity: 0; translate: 0 34px; }
.bl-grid.is-in:not(.is-settled) .bl-card { transition: opacity 0.7s ease calc(var(--i, 0) * 70ms), translate 0.9s var(--ease) calc(var(--i, 0) * 70ms); }

/* list view */
.bl-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.bl-grid.is-list .bl-card { flex-direction: row; }
.bl-grid.is-list .bl-card__media { flex: 0 0 280px; aspect-ratio: auto; min-height: 152px; margin: 8px; }
.bl-grid.is-list .bl-card__body { padding: 20px 26px 20px 14px; }
.bl-grid.is-list .bl-card__title { margin-top: 10px; font-size: 19px; }
.bl-grid.is-list .bl-card__excerpt { -webkit-line-clamp: 1; }
.bl-grid.is-list .bl-card__by { padding-top: 14px; }

.bl-empty { display: grid; justify-items: center; padding: 70px 20px; border-radius: 24px; background: #fff; border: 1px dashed #d7dbe3; text-align: center; animation: blShow 0.5s var(--ease); }
.bl-empty[hidden] { display: none; }
.bl-empty__ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan-deep); font-size: 24px; animation: uaPulse 3s ease-in-out infinite; }
.bl-empty h3 { margin-top: 20px; font-size: 22px; color: var(--black); }
.bl-empty h3 span { color: var(--cyan-deep); }
.bl-empty p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.bl-empty .btn { margin-top: 24px; }

.bl-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
.bl-more[hidden], .bl-more .btn[hidden] { display: none; }
.bl-more__count { font-size: 13px; color: var(--muted); }
.bl-more__count b { color: var(--ink); }
.bl-more__bar { width: 220px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bl-more__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--cyan); transition: width 0.7s var(--ease); }

/* ============================================================
   WRITERS (dark)
   ============================================================ */
.bl-writers { background: var(--black); color: #b6bdcb; overflow: clip; }
.bl-writers__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.bl-writer {
  display: flex; flex-direction: column; align-items: center;
  padding: 30px 20px 26px; border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: translate 0.45s var(--ease), border-color 0.35s ease, background 0.35s ease, opacity 0.8s ease var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s);
}
.js .bl-writer { transition: translate 0.45s var(--ease), border-color 0.35s ease, background 0.35s ease, opacity 0.8s ease var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s); }
.bl-writer:hover { translate: 0 -6px; border-color: rgba(41, 171, 226, 0.45); background: rgba(41, 171, 226, 0.06); }
.bl-writer__ava { position: relative; display: grid; place-items: center; width: 100px; height: 100px; }
.bl-writer__ava .bl-ava { width: 82px; height: 82px; font-size: 22px; }
.bl-writer__ava svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.bl-writer__ava circle { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease) calc(var(--rd, 0s) + 0.3s); }
.bl-writer.is-in .bl-writer__ava circle { stroke-dashoffset: 74; }
.bl-writer:hover .bl-writer__ava circle { stroke-dashoffset: 0; transition-delay: 0s; }
.bl-writer__name { margin-top: 16px; font-family: var(--font-display); font-size: 17px; color: #fff; }
.bl-writer__role { margin-top: 3px; font-size: 12.5px; color: #7d8597; }
.bl-writer__n { margin-top: 18px; font-size: 13px; color: #9aa3b2; }
.bl-writer__n span { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.bl-writer__topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.bl-writer__topics li { padding: 4px 10px; border-radius: 999px; background: rgba(41, 171, 226, 0.12); font-size: 11.5px; font-weight: 600; color: #9fdcf5; }
.bl-writer__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 22px 0 3px; border-bottom: 1.5px solid var(--cyan); font-size: 13.5px; font-weight: 600; color: #fff; }
.bl-writer__btn i { font-size: 12px; color: var(--cyan); transition: translate 0.35s var(--ease); }
.bl-writer__btn:hover i { translate: 4px 0; }

/* ============================================================
   NEWSLETTER — dark card with an inbox that fills
   ============================================================ */
.bl-news { padding: clamp(70px, 8vw, 120px) 0; }
.bl-news__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(36px, 5vw, 80px);
  padding: clamp(30px, 4.6vw, 72px);
  border-radius: 32px;
  background: linear-gradient(160deg, #0d1424, #0a0a0f 70%);
  color: #b6bdcb;
}
.bl-news__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 85% 10%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 85% 10%, #000, transparent 75%);
}
.bl-news__glow { position: absolute; right: -200px; top: -260px; z-index: -1; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(41, 171, 226, 0.28), transparent 65%); pointer-events: none; animation: uaPulse 8s ease-in-out infinite; }
.bl-news__copy .ua-h2 { font-size: clamp(28px, 3vw, 44px); }
.bl-news__copy > p { max-width: 460px; margin-top: 18px; font-size: 15.5px; line-height: 1.75; color: #a7adbb; }
.bl-news__form { max-width: 520px; margin-top: 28px; }
.bl-news__field { display: flex; gap: 8px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.bl-news__field:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.15); }
.bl-news__form.is-invalid .bl-news__field { border-color: #ff6b6b; }
.bl-news__field input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: #fff; }
.bl-news__field input::placeholder { color: #8a93a5; }
.bl-news__field .btn { height: 52px; }
.bl-news__field .btn:hover { background: #fff; color: var(--black); }
.bl-news__form.is-sent .btn i { animation: blFly 1s var(--ease); }
.bl-news__status { min-height: 1.2em; margin-top: 10px; font-size: 13.5px; color: #7ee2a8; }
.bl-news__status.is-error { color: #ff8a8a; }
.bl-news__note { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12.5px; color: #8a93a5; }

.bl-inbox { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.bl-inbox__bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 8px; }
.bl-inbox__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.bl-inbox__bar b { margin-left: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a93a5; }
.bl-inbox__row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.6s ease calc(0.35s + var(--i) * 0.15s), translate 0.8s var(--ease) calc(0.35s + var(--i) * 0.15s);
}
.js .bl-news__card:not(.is-in) .bl-inbox__row { opacity: 0; translate: 0 -18px; }
.bl-inbox__row img { width: 40px; height: 40px; padding: 6px; border-radius: 50%; background: #fff; }
.bl-inbox__row b { display: block; font-size: 13px; color: #fff; }
.bl-inbox__row small { display: block; overflow: hidden; font-size: 12.5px; color: #9aa3b2; white-space: nowrap; text-overflow: ellipsis; }
.bl-inbox__row em { font-style: normal; font-size: 11.5px; color: #7d8597; white-space: nowrap; }
.bl-inbox__row.is-new { background: rgba(41, 171, 226, 0.1); border-color: rgba(41, 171, 226, 0.4); }
.bl-news__card.is-in .bl-inbox__row.is-new { animation: blMail 2.6s ease-in-out 1.6s infinite; }
.bl-inbox__row.is-new em { padding: 3px 8px; border-radius: 999px; background: var(--cyan); font-weight: 700; color: #fff; }
.bl-inbox__row:last-child { opacity: 0.55; }
.js .bl-news__card:not(.is-in) .bl-inbox__row:last-child { opacity: 0; }

/* ============================================================
   ARTICLE HERO
   ============================================================ */
.bl-phero__inner { padding-bottom: clamp(36px, 4vw, 56px); }
.bl-phero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.bl-phero__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.bl-phero__meta > span i { color: var(--cyan); }
.bl-phero__meta .bl-tag { transition: translate 0.35s var(--ease); }
.bl-phero__meta .bl-tag:hover { translate: 0 -2px; }
.bl-phero__title { max-width: 20ch; font-size: clamp(32px, min(4vw, 6.4vh), 58px); text-wrap: balance; }
.bl-phero__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: 28px; }
.bl-phero__by .bl-by small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.bl-phero__share { display: flex; gap: 8px; padding-left: 28px; border-left: 1px solid var(--border); }
.bl-phero__media { padding-bottom: clamp(40px, 5vw, 72px); }
.bl-phero__img { aspect-ratio: 1600 / 640; margin: 0; }

.bl-share {
  position: relative;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); font-size: 14px; color: var(--ink);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, translate 0.35s var(--ease);
}
.bl-share:hover { background: var(--black); border-color: var(--black); color: #fff; translate: 0 -3px; }
.bl-share.is-copied { background: #22c55e; border-color: #22c55e; color: #fff; }
.bl-share[data-copy]::after { content: "Link copied"; position: absolute; left: 50%; bottom: calc(100% + 8px); padding: 5px 9px; border-radius: 7px; background: var(--black); font-size: 11.5px; font-weight: 600; color: #fff; white-space: nowrap; opacity: 0; translate: -50% 4px; pointer-events: none; transition: opacity 0.25s ease, translate 0.35s var(--ease); }
.bl-share.is-copied::after { opacity: 1; translate: -50% 0; }

/* ============================================================
   ARTICLE — share rail · text · contents
   ============================================================ */
.bl-read { display: grid; grid-template-columns: 64px minmax(0, 1fr) 300px; align-items: start; gap: clamp(28px, 4vw, 64px); padding-top: clamp(56px, 6vw, 90px); padding-bottom: clamp(30px, 4vw, 60px); }
.bl-rail, .bl-side { position: sticky; top: 112px; transition: top 0.5s var(--ease); }
.navbar-wrap.is-hidden ~ main .bl-rail, .navbar-wrap.is-hidden ~ main .bl-side { top: 28px; }
.bl-rail__in { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bl-rail__label { margin: 8px 0 2px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bl-rail .bl-share[data-copy]::after { left: calc(100% + 10px); bottom: auto; top: 50%; translate: -4px -50%; }
.bl-rail .bl-share.is-copied::after { translate: 0 -50%; }
.bl-ring { position: relative; display: grid; place-items: center; width: 56px; height: 56px; }
.bl-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.bl-ring circle { fill: none; stroke: var(--line); stroke-width: 3; }
.bl-ring .bl-ring__arc { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.bl-ring b { font-family: var(--font-display); font-size: 11.5px; color: var(--ink); }

.bl-article { width: 100%; max-width: 760px; justify-self: center; }

.bl-keys { position: relative; overflow: hidden; margin-bottom: 40px; padding: 24px 26px 24px 30px; border-radius: 22px; background: linear-gradient(160deg, #f0f8fd, #fff 70%); border: 1px solid rgba(41, 171, 226, 0.25); }
.bl-keys::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cyan); }
.bl-keys__head { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-deep); }
.bl-keys__head span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--cyan); font-size: 12px; color: #fff; }
.bl-keys ul { display: grid; gap: 10px; margin-top: 16px; }
.bl-keys li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.65; color: var(--ink); }
.bl-keys li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 9px; height: 9px; border-radius: 2px; background: var(--cyan); }

/* ---------- prose ---------- */
.bl-prose { font-size: 17px; line-height: 1.8; color: #374151; }
.bl-prose > * + * { margin-top: 1.3em; }
.bl-prose p b { font-weight: 700; color: var(--black); }
.bl-prose p a { color: var(--cyan-deep); border-bottom: 1px solid currentColor; }
.bl-prose__lead { font-size: 20px; font-weight: 500; line-height: 1.7; color: var(--ink); }
.bl-prose__lead::first-letter { float: left; margin: 0.08em 0.12em 0 0; font-family: var(--font-display); font-size: 3.7em; font-weight: 800; line-height: 0.86; color: var(--cyan); }
.bl-prose > .bl-h2 { margin-top: 2.3em; }
.bl-h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; color: var(--black); scroll-margin-top: 110px; }
.bl-h2__n { flex-shrink: 0; padding: 4px 8px; border-radius: 8px; background: var(--cyan-soft); font-size: 13px; letter-spacing: 0.02em; color: var(--cyan-deep); translate: 0 -4px; }
.bl-prose h3 { font-size: 17.5px; font-weight: 700; line-height: 1.3; color: var(--black); }
.bl-list { display: grid; gap: 8px; }
.bl-list li { position: relative; padding-left: 24px; }
.bl-list li::before { content: ""; position: absolute; left: 3px; top: 0.7em; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); }

/* imported posts: bold, links and inline code turn up in lists, tables and headings too */
/* :where keeps these as weak as `.bl-prose b`, so a block's own colours still win */
.bl-prose :where(p, .bl-list li, .bl-table td, .bl-table th, h3, h4) :is(b, strong) { font-weight: 700; color: var(--black); }
.bl-prose :where(.bl-list li, .bl-table td, .bl-table th, h3, h4) a { color: var(--cyan-deep); border-bottom: 1px solid currentColor; }
.bl-prose :where(p, .bl-list li, .bl-table td, .bl-table th, h3, h4) a { transition: color 0.25s ease, border-color 0.25s ease; }
.bl-prose :where(p, .bl-list li, .bl-table td, .bl-table th, h3, h4) a:hover { color: var(--black); }
.bl-prose .bl-quote :is(b, strong) { color: var(--cyan); }
.bl-prose .bl-quote a:hover { color: #fff; }
.bl-prose :not(pre) > code, .bl-page .ua-q__panel code { padding: 2px 6px; border-radius: 6px; background: var(--cyan-soft); font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: 0.86em; color: var(--cyan-deep); overflow-wrap: anywhere; }
.bl-prose > h3 { margin-top: 1.9em; }
.bl-prose h4 { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--black); }
.bl-prose > h4 { margin-top: 1.6em; }
.bl-prose > :is(h3, h4) + * { margin-top: 0.6em; }
.bl-list :is(ul, ol) { display: grid; gap: 6px; margin-top: 8px; }
.bl-list li li { position: relative; padding-left: 20px; }
.bl-list li li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--cyan); }

/* ---------- photos: open full size ---------- */
.bl-fig, .bl-split__media { margin-inline: 0; }
.bl-fig__zoom, .bl-gallery__zoom, .bl-split__zoom {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
  border: 0; border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 1px var(--line);
  cursor: zoom-in;
}
.bl-fig__zoom img, .bl-split__zoom img { display: block; width: 100%; height: auto; transition: scale 0.9s var(--ease); }
.bl-fig--sm { display: flex; justify-content: center; }
.bl-fig--sm .bl-fig__zoom, .bl-fig--sm .bl-fig__zoom img { width: auto; max-width: 100%; }
:is(.bl-fig__zoom, .bl-gallery__zoom, .bl-split__zoom):hover img { scale: 1.04; }
.bl-zoom-ico {
  position: absolute; right: 12px; top: 12px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10, 10, 15, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 13px; color: #fff;
  opacity: 0; scale: 0.8; transition: opacity 0.3s ease, scale 0.4s var(--ease);
}
:is(.bl-fig__zoom, .bl-gallery__zoom, .bl-split__zoom):is(:hover, :focus-visible) .bl-zoom-ico { opacity: 1; scale: 1; }
.bl-fig__plain img, .bl-gallery__plain img, .bl-split__plain img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.bl-fig figcaption { margin-top: 10px; font-size: 13.5px; text-align: center; color: var(--muted); }

.bl-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; }
.bl-gallery__zoom { aspect-ratio: 4 / 3; }
.bl-gallery__zoom img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease); }

/* photo + text side by side, alternating */
.bl-split {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(20px, 3vw, 36px);
  padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
}
.bl-split--flip .bl-split__media { order: 2; }
.bl-split__body { font-size: 16px; line-height: 1.75; }
.bl-split__body > * + * { margin-top: 0.9em; }

/* ---------- photo viewer ---------- */
html.bl-lb-open { overflow: hidden; }
.bl-lb {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: 72px 84px;
  background: rgba(6, 8, 14, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.25s ease;
}
.bl-lb[hidden] { display: none; }
.bl-lb.is-open { opacity: 1; }
.bl-lb__img { width: auto; height: auto; max-width: min(1200px, 100%); max-height: calc(100vh - 150px); border-radius: 14px; background: #111; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8); }
.bl-lb__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 16px; color: #fff;
  transition: background 0.25s ease, scale 0.35s var(--ease);
}
.bl-lb__btn:hover { background: rgba(255, 255, 255, 0.18); scale: 1.06; }
.bl-lb__close { top: 20px; right: 20px; }
.bl-lb__prev, .bl-lb__next { top: 50%; margin-top: -24px; }
.bl-lb__prev { left: 18px; }
.bl-lb__next { right: 18px; }
.bl-lb__count { position: absolute; left: 50%; bottom: 22px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.8); translate: -50% 0; }
.bl-lb.is-single :is(.bl-lb__prev, .bl-lb__next, .bl-lb__count) { display: none; }

/* ---------- code samples ---------- */
.bl-code { overflow: hidden; border-radius: 18px; background: #0d1117; border: 1px solid #1f2633; box-shadow: 0 24px 50px -32px rgba(10, 14, 30, 0.7); }
.bl-code__bar { display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 16px; background: #111722; border-bottom: 1px solid #1f2633; font-size: 12.5px; color: #9aa4b5; }
.bl-code__dots { display: flex; gap: 6px; }
.bl-code__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.bl-code__dots i:nth-child(2) { background: #febc2e; }
.bl-code__dots i:nth-child(3) { background: #28c840; }
.bl-code__bar b { font-weight: 600; color: #e6edf3; }
.bl-code__lang { padding: 2px 8px; border-radius: 6px; background: rgba(41, 171, 226, 0.14); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.bl-code__copy {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; margin-left: auto; padding: 0 12px;
  border-radius: 8px; background: transparent; border: 1px solid #2a3343; font-size: 12px; font-weight: 600; color: #c9d1d9;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.bl-code__copy:hover { background: #1f2633; color: #fff; }
.bl-code__copy.is-copied { background: #22c55e; border-color: #22c55e; color: #fff; }
.bl-code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.7; color: #e6edf3; tab-size: 4; }
.bl-code pre:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.bl-code code { font: inherit; }

/* ---------- tables ---------- */
.bl-table { overflow-x: auto; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.bl-table:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.bl-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.bl-table :is(th, td) { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.bl-table thead th { background: var(--black); font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: #fff; }
.bl-prose .bl-table thead :is(b, strong) { color: inherit; }
.bl-table tbody th { font-weight: 700; color: var(--black); }
.bl-table tbody tr { transition: background 0.2s ease; }
.bl-table tbody tr:nth-child(even) { background: #fafbfc; }
.bl-table tbody tr:hover { background: #eef8fd; }
.bl-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- notes ---------- */
.bl-note { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, #f0f8fd, #fff 75%); border: 1px solid rgba(41, 171, 226, 0.28); }
.bl-note__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--cyan); font-size: 15px; color: #fff; }
.bl-note > div > b { display: block; font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-deep); }
.bl-note p { margin-top: 4px; font-size: 15.5px; line-height: 1.7; }
.bl-note--warn { background: linear-gradient(160deg, #fff7ed, #fff 75%); border-color: rgba(245, 158, 11, 0.35); }
.bl-note--warn .bl-note__ico { background: #f59e0b; }
.bl-note--warn > div > b { color: #b45309; }

.bl-btnrow { display: flex; }

/* ---------- readiness quiz ---------- */
@keyframes blQIn { from { opacity: 0; translate: 0 14px; } }
@keyframes blQFwd { from { opacity: 0; translate: 32px 0; } }
@keyframes blQBack { from { opacity: 0; translate: -32px 0; } }
@keyframes blGrow { from { width: 0; } }
.bl-quiz { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: var(--black); color: rgba(255, 255, 255, 0.78); }
.bl-quiz::before { content: ""; position: absolute; right: -120px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(41, 171, 226, 0.32), transparent 65%); pointer-events: none; }
.bl-quiz > * { position: relative; }
.bl-quiz :is(.bl-quiz__intro, .bl-quiz__run, .bl-quiz__result).is-in { animation: blQIn 0.5s var(--ease); }
.bl-quiz__badge { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--cyan); font-size: 20px; color: #fff; }
.bl-quiz h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: #fff; }
.bl-quiz__intro > p { max-width: 54ch; margin-top: 10px; font-size: 15.5px; line-height: 1.7; }
.bl-quiz__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.bl-quiz__facts li { padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.bl-quiz__facts b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--cyan); }
.bl-quiz__facts small { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.bl-quiz__progress { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.bl-quiz .bl-quiz__progress b { color: #fff; }
.bl-quiz__bar { display: block; height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bl-quiz__bar span { display: block; width: calc(var(--qp, 0) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), #7dd3fc); transition: width 0.5s var(--ease); }
.bl-quiz__q { min-width: 0; margin: 26px 0 0; padding: 0; border: 0; }
.bl-quiz__q.is-fwd { animation: blQFwd 0.45s var(--ease); }
.bl-quiz__q.is-back { animation: blQBack 0.45s var(--ease); }
.bl-quiz__q legend { padding: 0; font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.35; color: #fff; }
.bl-quiz__opts { display: grid; gap: 10px; margin-top: 18px; }
.bl-quiz__opt {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, translate 0.35s var(--ease);
}
.bl-quiz__opt:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(41, 171, 226, 0.6); translate: 4px 0; }
.bl-quiz__opt input { position: absolute; opacity: 0; pointer-events: none; }
.bl-quiz__dot { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); transition: border-color 0.25s ease, box-shadow 0.3s var(--ease); }
.bl-quiz__opt:has(input:checked) { background: rgba(41, 171, 226, 0.16); border-color: var(--cyan); color: #fff; }
.bl-quiz__opt input:checked + .bl-quiz__dot { border-color: var(--cyan); box-shadow: inset 0 0 0 3px var(--black), inset 0 0 0 10px var(--cyan); }
.bl-quiz__opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.bl-quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.bl-quiz__nav .btn { height: 46px; padding: 0 22px; font-size: 14.5px; }
.bl-quiz__back, .bl-quiz__again {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: 12px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px; font-weight: 600; color: #fff; transition: background 0.25s ease, opacity 0.25s ease;
}
.bl-quiz__back:hover, .bl-quiz__again:hover { background: rgba(255, 255, 255, 0.08); }
.bl-quiz__back:disabled { opacity: 0.35; cursor: default; }
.bl-quiz .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.bl-quiz__result:focus { outline: none; }
.bl-quiz__result { --band: var(--cyan); }
.bl-quiz__result[data-band="low"] { --band: #22c55e; }
.bl-quiz__result[data-band="moderate"] { --band: #f59e0b; }
.bl-quiz__result[data-band="high"] { --band: #f97316; }
.bl-quiz__result[data-band="critical"] { --band: #ef4444; }
.bl-quiz__band { padding: 22px; border-radius: 18px; background: color-mix(in srgb, var(--band) 14%, transparent); border: 1px solid color-mix(in srgb, var(--band) 45%, transparent); }
.bl-quiz__band small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.bl-quiz__band b { display: block; margin-top: 4px; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); color: var(--band); }
.bl-quiz__meter { display: block; height: 8px; margin: 14px 0 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bl-quiz__meter span { display: block; width: calc(var(--score, 0) * 100%); height: 100%; border-radius: inherit; background: var(--band); }
.bl-quiz__result.is-in .bl-quiz__meter span { animation: blGrow 1.2s var(--ease) 0.2s backwards; }
.bl-quiz__band em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.bl-quiz__result h4 { margin-top: 24px; font-size: 16px; color: #fff; }
.bl-quiz__result > p { margin-top: 8px; font-size: 15.5px; line-height: 1.7; }
.bl-quiz__plan { display: grid; gap: 10px; margin-top: 12px; counter-reset: plan; }
.bl-quiz__plan li { position: relative; padding-left: 40px; font-size: 15px; line-height: 1.6; counter-increment: plan; }
.bl-quiz__plan li::before { content: counter(plan); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(41, 171, 226, 0.18); font-family: var(--font-display); font-size: 12.5px; color: var(--cyan); }
.bl-quiz__deadline { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; margin-top: 24px; padding: 18px; border-radius: 16px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.35); }
.bl-quiz__deadline > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #ef4444; font-family: var(--font-display); font-weight: 800; color: #fff; animation: blRec 1.6s ease-out infinite; }
.bl-quiz__deadline b { font-size: 12.5px; letter-spacing: 0.1em; color: #fca5a5; }
.bl-quiz__deadline p { margin-top: 4px; font-size: 14.5px; line-height: 1.6; }
.bl-quiz__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.bl-quiz__note { margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

/* ---------- partner tiers: three columns that grow ---------- */
.bl-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.bl-tier { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.55; }
.bl-tier__col { position: relative; display: block; height: calc(70px + var(--k) * 48px); margin-bottom: 10px; border-radius: 14px; background: var(--bg); overflow: hidden; }
.bl-tier__fill { position: absolute; inset: 0; transform-origin: bottom; scale: 1 0; transition: scale 1.2s var(--ease) calc(0.2s + var(--k) * 0.15s); }
.bl-tier:nth-child(1) .bl-tier__fill { background: linear-gradient(180deg, #eceef2, #c5cbd5); }
.bl-tier:nth-child(2) .bl-tier__fill { background: linear-gradient(180deg, #fbe7a1, #dcac3a); }
.bl-tier:nth-child(3) .bl-tier__fill { background: linear-gradient(160deg, var(--cyan), var(--umb)); }
.bl-tiers.is-in .bl-tier__fill { scale: 1 1; }
.bl-tier__col i { position: absolute; left: 50%; top: 16px; font-size: 18px; color: #fff; opacity: 0; translate: -50% 10px; transition: opacity 0.5s ease 1.1s, translate 0.6s var(--ease) 1.1s; }
.bl-tiers.is-in .bl-tier__col i { opacity: 1; translate: -50% 0; }
.bl-tier__name { font-family: var(--font-display); font-size: 17px; color: var(--black); }
.bl-tier p { color: var(--text); }
.bl-tier.is-current .bl-tier__name { color: var(--cyan-deep); }
.bl-tier__req { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; margin-top: 4px; padding: 5px 9px; border-radius: 8px; background: var(--cyan-soft); font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--cyan-deep); }

.bl-quote { position: relative; padding: 30px 32px 30px 78px; border-radius: 22px; background: var(--black); overflow: hidden; }
.bl-quote::after { content: ""; position: absolute; right: -80px; top: -120px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(41, 171, 226, 0.3), transparent 65%); }
.bl-quote i { position: absolute; left: 28px; top: 32px; font-size: 26px; color: var(--cyan); }
.bl-quote p { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 25px); font-weight: 600; line-height: 1.4; letter-spacing: -0.015em; color: #fff; }

/* ---------- four points ---------- */
.bl-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bl-point { position: relative; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: translate 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.8s ease var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s); }
.js .bl-point { transition: translate 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.8s ease var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s); }
.bl-point:hover { translate: 0 -4px; border-color: rgba(41, 171, 226, 0.45); box-shadow: 0 28px 46px -34px rgba(16, 24, 40, 0.45); }
.bl-point__top { display: flex; align-items: center; justify-content: space-between; }
.bl-point__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--cyan-soft); font-size: 18px; color: var(--cyan-deep); transition: rotate 0.5s var(--ease), background 0.35s ease, color 0.35s ease; }
.bl-point:hover .bl-point__ico { rotate: -10deg; background: var(--cyan); color: #fff; }
.bl-point__n { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px #cfd5df; transition: -webkit-text-stroke-color 0.35s ease; }
.bl-point:hover .bl-point__n { -webkit-text-stroke-color: var(--cyan); }
.bl-point h3 { margin-top: 18px; }
.bl-point p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--text); }

/* ---------- six commitments: each tick draws as it arrives ---------- */
.bl-commit { border-top: 1px solid var(--line); }
.bl-commit__item { display: grid; grid-template-columns: 40px 36px minmax(0, 1fr); align-items: start; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.bl-commit__tick { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; transition: background 0.4s ease 0.25s, border-color 0.4s ease 0.25s; }
.bl-commit__tick svg { width: 18px; height: 18px; }
.bl-commit__tick path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.6s var(--ease) 0.45s; }
.bl-commit__item.is-in .bl-commit__tick { background: var(--cyan); border-color: var(--cyan); }
.bl-commit__item.is-in .bl-commit__tick path { stroke-dashoffset: 0; }
.bl-commit__n { padding-top: 8px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--muted); }
.bl-commit h3 { margin-top: 5px; }
.bl-commit p { margin-top: 4px; font-size: 15px; line-height: 1.65; color: var(--text); }

/* ---------- partner checklist ---------- */
.bl-check { border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.bl-check__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 20px; background: var(--bg); border-bottom: 1px solid var(--line); transition: background 0.4s ease; }
.bl-check.is-done .bl-check__head { background: #ecf9f1; }
.bl-check__ring { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; }
.bl-check.is-done .bl-check__ring { animation: blBounce 0.6s var(--ease); }
.bl-check__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.bl-check__ring circle { fill: none; stroke: #e3e7ee; stroke-width: 4; }
.bl-check__ring .bl-check__arc { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transition: stroke-dashoffset 0.6s var(--ease), stroke 0.4s ease; }
.bl-check.is-done .bl-check__arc { stroke: #22c55e; }
.bl-check__ring b { font-family: var(--font-display); font-size: 13px; line-height: 1; color: var(--ink); }
.bl-check__msg { flex: 1; min-width: 180px; line-height: 1.4; }
.bl-check__msg b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--black); }
.bl-check__msg small { font-size: 13px; color: var(--muted); }
.bl-check__tools { display: flex; gap: 8px; }
.bl-check__tools button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 14px; border-radius: 11px; background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--ink); transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease; }
.bl-check__tools button:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.bl-check__tools button.is-copied { background: #22c55e; border-color: #22c55e; color: #fff; }
#blCheckReset { padding: 0; }
.bl-check__list li + li { border-top: 1px solid var(--line); }
.bl-check__q { display: grid; grid-template-columns: 26px 26px minmax(0, 1fr); align-items: start; gap: 12px; width: 100%; padding: 16px 20px; text-align: left; transition: background 0.25s ease; }
.bl-check__q:hover { background: #f8fbfd; }
.bl-check__box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #cfd5df; font-size: 12px; color: #fff; transition: background 0.3s ease, border-color 0.3s ease; }
.bl-check__box i { scale: 0; transition: scale 0.4s var(--ease); }
.bl-check__n { padding-top: 3px; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bl-check__t { font-size: 15px; line-height: 1.6; color: var(--ink); text-decoration: line-through 1px transparent; transition: color 0.3s ease, text-decoration-color 0.4s ease; }
.bl-check__q[aria-pressed="true"] .bl-check__box { background: var(--cyan); border-color: var(--cyan); }
.bl-check__q[aria-pressed="true"] .bl-check__box i { scale: 1; }
.bl-check__q[aria-pressed="true"] .bl-check__t { color: #8a93a5; text-decoration-color: currentColor; }

/* ---------- live countdown ---------- */
.bl-count { position: relative; isolation: isolate; overflow: hidden; padding: 28px; border-radius: 24px; background: linear-gradient(160deg, #0d1424, #0a0a0f 70%); text-align: center; }
.bl-count::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
}
.bl-count__digits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bl-count__digits span { overflow: hidden; padding: 18px 6px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.bl-count__digits span:first-child { background: rgba(41, 171, 226, 0.14); border-color: rgba(41, 171, 226, 0.35); }
.bl-count__digits b { display: block; font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.bl-count__digits span:first-child b { color: var(--cyan); }
.bl-count__digits b.is-tick { animation: blTick 0.5s var(--ease); }
.bl-count__digits small { display: block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a93a5; }
.bl-count__label { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: #a7adbb; }
.bl-count__label time { font-weight: 600; color: #fff; }
.bl-count__live { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: #ff6b6b; animation: blRec 1.6s ease-out infinite; }
.bl-count__done { margin-top: 18px; font-size: 14px; font-weight: 600; color: #ffb4b4; }
.bl-count.is-over .bl-count__label { display: none; }

/* ---------- assessment offer ---------- */
.bl-offer { position: relative; isolation: isolate; overflow: hidden; padding: 30px; border-radius: 24px; background: linear-gradient(150deg, var(--cyan), #1477b8); color: #fff; }
.bl-offer__glow { position: absolute; right: -120px; top: -160px; z-index: -1; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 65%); animation: uaPulse 7s ease-in-out infinite; }
.bl-offer .eyebrow--light { color: #eaf7fd; }
.bl-offer .eyebrow i { background: #fff; }
.bl-prose .bl-offer h3 { margin-top: 14px; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; color: #fff; }
.bl-offer p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.92); }
.bl-offer ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 18px; }
.bl-offer li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.bl-offer li i { flex-shrink: 0; margin-top: 3px; }
.bl-offer .btn { margin-top: 26px; }

/* ---------- company facts ---------- */
.bl-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bl-facts li { padding: 20px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.bl-facts b { display: block; font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; line-height: 1; letter-spacing: -0.035em; color: var(--black); }
.bl-facts em { font-style: normal; color: var(--cyan); }
.bl-facts small { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.bl-facts li:last-child { background: var(--black); border-color: var(--black); }
.bl-facts li:last-child b { color: #fff; }
.bl-facts li:last-child small { color: #9aa3b2; }

/* ---------- in-article CTA ---------- */
.bl-incta { display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: 24px; background: linear-gradient(120deg, #fff, #eef7fc); border: 1px solid rgba(41, 171, 226, 0.3); scroll-margin-top: 110px; }
.bl-incta__ico { display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 15px; background: var(--black); font-size: 20px; color: var(--cyan); }
.bl-incta > div { flex: 1; }
.bl-prose .bl-incta h3 { font-size: 20px; }
.bl-incta p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.bl-incta .btn { flex-shrink: 0; }

/* ---------- end of article: tags, vote, author ---------- */
.bl-end { display: grid; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.bl-end__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-end__tags li { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--text); }
.bl-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.bl-vote > p:first-child { margin-right: auto; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--black); }
.bl-vote__btns { display: flex; gap: 8px; }
.bl-vote__btns button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.bl-vote__btns button:hover { border-color: var(--cyan); }
.bl-vote__btns button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.bl-vote__btns button[aria-pressed="true"] i { animation: blBounce 0.6s var(--ease); }
.bl-vote__thanks { width: 100%; font-size: 13.5px; color: #16a34a; }
.bl-vote__thanks:empty { display: none; }
.bl-author { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; gap: 20px; padding: 26px; border-radius: 24px; background: var(--black); color: #a7adbb; }
.bl-author__ava { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 10%; background: linear-gradient(160deg, #e6f4fb, #cfe9f6); }
.bl-author__ava.bl-author__ava--initials { display: grid; place-items: center; background: linear-gradient(140deg, var(--cyan), #1477b8); font-family: var(--font-display); font-size: 24px; font-weight: 700; color: #fff; }
.bl-author small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7d8597; }
.bl-author b { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 20px; color: #fff; }
.bl-author em { font-style: normal; font-size: 13px; color: var(--cyan); }
.bl-author p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; }
.bl-author .text-link { margin-top: 16px; font-size: 14px; color: #fff; }

/* ---------- contents + consult (sticky) ---------- */
.bl-side { display: grid; gap: 16px; }
.bl-toc { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.bl-toc__head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bl-toc__head b { font-family: var(--font-display); font-size: 12px; letter-spacing: 0; color: var(--cyan-deep); }
/* long guides: the list scrolls inside the card so the side column still fits the screen */
.bl-toc__scroll { max-height: calc(100vh - 470px); min-height: 160px; margin-right: -10px; padding-right: 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.navbar-wrap.is-hidden ~ main .bl-toc__scroll { max-height: calc(100vh - 386px); }
.bl-toc ol { position: relative; margin-top: 14px; padding-left: 14px; }
.bl-toc ol::before, .bl-toc ol::after { content: ""; position: absolute; left: 0; top: 6px; width: 2px; border-radius: 2px; }
.bl-toc ol::before { bottom: 6px; background: var(--line); }
.bl-toc ol::after { height: calc(var(--p, 0) * (100% - 12px)); background: var(--cyan); transition: height 0.25s linear; }
.bl-toc a { display: flex; gap: 10px; padding: 7px 0 7px 6px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--text); transition: color 0.3s ease, translate 0.4s var(--ease); }
.bl-toc a span { padding-top: 2px; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: #b4bac6; transition: color 0.3s ease; }
.bl-toc a:hover { color: var(--ink); }
.bl-toc a.is-active { font-weight: 600; color: var(--black); translate: 4px 0; }
.bl-toc a.is-active span { color: var(--cyan); }
.bl-consult { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #0d1424, #0a0a0f 70%); color: #a7adbb; }
.bl-consult__glow { position: absolute; right: -90px; top: -110px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(41, 171, 226, 0.35), transparent 65%); animation: uaPulse 8s ease-in-out infinite; }
.bl-consult img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 10%; background: linear-gradient(160deg, #e6f4fb, #cfe9f6); }
.bl-consult b { display: block; font-family: var(--font-display); font-size: 15px; color: #fff; }
.bl-consult span { font-size: 12.5px; }
.bl-consult .btn { grid-column: 1 / -1; height: 50px; font-size: 14px; }
.bl-consult .btn:hover { background: #fff; color: var(--black); }

/* ============================================================
   MORE — older / newer, then the related carousel
   ============================================================ */
.bl-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(56px, 7vw, 100px); }
.bl-pager__item { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: translate 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease; }
.bl-pager__item:hover { translate: 0 -4px; border-color: rgba(41, 171, 226, 0.45); box-shadow: 0 28px 46px -34px rgba(16, 24, 40, 0.45); }
.bl-pager__item small { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bl-pager__item small i { color: var(--cyan); transition: translate 0.35s var(--ease); }
.bl-pager__item:hover small i { translate: -4px 0; }
.bl-pager__item b { font-family: var(--font-display); font-size: 18px; line-height: 1.3; color: var(--black); }
.bl-pager__item--next { grid-column: 2; align-items: flex-end; text-align: right; }
.bl-pager__item--next:hover small i { translate: 4px 0; }
.bl-pager__item--all { background: var(--black); border-color: var(--black); }
.bl-pager__item--all b { color: #fff; }
.bl-pager__item--all small { color: #8a93a5; }
.ua-res__img .bl-cover__mark { width: 56px; height: 56px; }

/* ============================================================
   READING PILL — small screens only
   ============================================================ */
.bl-pill { --p: 0; position: fixed; left: 50%; bottom: 18px; z-index: 60; translate: -50% 0; transition: opacity 0.4s ease, translate 0.5s var(--ease); }
.bl-pill:not(.is-on) { opacity: 0; translate: -50% 28px; pointer-events: none; }
.bl-pill__btn {
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px); height: 50px; padding: 0 18px 0 7px;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.6);
  font-size: 13.5px; font-weight: 600; color: #fff;
}
.bl-pill__ring { position: relative; flex-shrink: 0; width: 36px; height: 36px; }
.bl-pill__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.bl-pill__ring circle { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 3; }
.bl-pill__ring .bl-pill__arc { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p) * 100); }
.bl-pill__now { overflow: hidden; max-width: 58vw; white-space: nowrap; text-overflow: ellipsis; }
.bl-pill__now.is-swap { animation: blShow 0.4s var(--ease); }
.bl-pill__btn > i { font-size: 11px; color: var(--cyan); transition: rotate 0.35s var(--ease); }
.bl-pill.is-open .bl-pill__btn > i { rotate: 180deg; }
.bl-pill__menu { position: absolute; left: 50%; bottom: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 34px 70px -24px rgba(16, 24, 40, 0.5); translate: -50% 0; animation: blShow 0.35s var(--ease); }
.bl-pill__menu p { padding: 4px 10px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bl-pill__menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--ink); transition: background 0.25s ease, color 0.25s ease; }
.bl-pill__menu a span { width: 20px; font-family: var(--font-display); font-size: 11px; color: var(--muted); }
.bl-pill__menu a:hover, .bl-pill__menu a.is-active { background: var(--cyan-soft); color: var(--cyan-deep); }
.bl-pill__menu a.is-active span { color: var(--cyan); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1181px) {
  .bl-pill { display: none; }
}

@media (max-width: 1180px) {
  .bl-feat__grid { grid-template-columns: minmax(0, 1fr); }
  .bl-writers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bl-bar { flex-wrap: wrap; }
  .bl-tabs { width: 100%; }
  .bl-tools { width: 100%; justify-content: flex-end; }
  .bl-find, .bl-find:focus-within, .bl-find:has(input:not(:placeholder-shown)) { width: auto; flex: 1; padding-right: 12px; }

  .bl-read { grid-template-columns: minmax(0, 1fr); }
  .bl-rail, .bl-toc { display: none; }
  .bl-side { position: static; width: 100%; max-width: 760px; justify-self: center; }
}

@media (max-width: 1023px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-news__card { grid-template-columns: minmax(0, 1fr); }
  .bl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .bl-hero .ua-hero__badge { height: auto; min-height: 38px; padding-top: 6px; padding-bottom: 6px; line-height: 1.35; }
  .bl-search { height: 58px; padding-left: 16px; }
  .bl-search__kbd, .bl-search__go span { display: none; }
  .bl-search__go { width: 44px; height: 44px; padding: 0; }
  .bl-try { justify-content: flex-start; }

  .bl-lead__body { padding: 20px; }
  .bl-lead__foot .btn { width: 100%; }
  .bl-pop { padding: 22px; }

  .bl-bar { position: static; padding: 6px; }
  .bl-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
  .bl-sort select { padding-right: 30px; }
  .bl-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bl-grid.is-list .bl-card__media { flex-basis: 112px; min-height: 0; aspect-ratio: 1; align-self: flex-start; }
  .bl-grid.is-list .bl-card__body { padding: 14px 14px 14px 4px; }
  .bl-grid.is-list .bl-card__title { margin-top: 8px; font-size: 15.5px; }
  .bl-grid.is-list .bl-card__excerpt, .bl-grid.is-list .bl-card__go, .bl-grid.is-list .bl-card__by .bl-ava { display: none; }
  .bl-grid.is-list .bl-cover__mark { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
  .bl-grid.is-list .bl-cover__mark img { width: 20px; height: 20px; }
  .bl-grid.is-list .bl-cover b { display: none; }

  .bl-writers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bl-writer { padding: 24px 14px 22px; }
  .bl-writer:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .bl-news__field { flex-direction: column; }
  .bl-news__field .btn { width: 100%; }

  .bl-phero__by { flex-direction: column; gap: 16px; }
  .bl-phero__share { padding-left: 0; border-left: 0; }
  .bl-phero__img { aspect-ratio: 16 / 10; }

  .bl-keys { padding: 20px 20px 20px 24px; }
  .bl-prose { font-size: 16px; }
  .bl-prose__lead { font-size: 18px; }
  .bl-h2 { gap: 10px; }
  .bl-tiers { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .bl-tier__col { width: calc(38% + var(--k) * 31%); height: 12px; margin-bottom: 6px; border-radius: 6px; }
  .bl-tier__fill { transform-origin: left; scale: 0 1; }
  .bl-tier__col i { display: none; }
  .bl-quote { padding: 24px 22px 24px 58px; }
  .bl-quote i { left: 20px; top: 26px; font-size: 22px; }
  .bl-points { grid-template-columns: minmax(0, 1fr); }
  .bl-commit__item { grid-template-columns: 36px minmax(0, 1fr); }
  .bl-commit__n { display: none; }
  .bl-check__head { padding: 16px; }
  .bl-check__tools { width: 100%; }
  .bl-check__tools button:first-child { flex: 1; }
  .bl-check__q { grid-template-columns: 26px minmax(0, 1fr); padding: 14px 16px; }
  .bl-check__n { display: none; }
  .bl-count { padding: 20px 12px; }
  .bl-count__digits { gap: 6px; }
  .bl-count__digits span { padding: 14px 2px 10px; border-radius: 12px; }
  .bl-count__digits small { font-size: 9.5px; letter-spacing: 0.08em; }
  .bl-count__label { display: block; }
  .bl-offer { padding: 24px; }
  .bl-offer ul { grid-template-columns: minmax(0, 1fr); }
  .bl-offer .btn, .bl-incta .btn { width: 100%; }
  .bl-incta { flex-direction: column; align-items: flex-start; }
  .bl-author { grid-template-columns: minmax(0, 1fr); }
  .bl-vote > p:first-child { width: 100%; }

  .bl-pager { grid-template-columns: minmax(0, 1fr); }
  .bl-pager__item--next { grid-column: auto; align-items: flex-start; text-align: left; }

  .bl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bl-split { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .bl-split--flip .bl-split__media { order: 0; }
  .bl-code pre { padding: 16px; font-size: 12.5px; }
  .bl-code__bar b { display: none; }
  .bl-note { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .bl-btnrow .btn { width: 100%; }
  .bl-quiz { padding: 22px 18px; border-radius: 22px; }
  .bl-quiz__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bl-quiz__facts li { padding: 10px; }
  .bl-quiz__facts b { font-size: 17px; }
  .bl-quiz__opt { padding: 13px 14px; font-size: 14.5px; }
  .bl-quiz__opt:hover { translate: none; }
  .bl-quiz__cta .btn { width: 100%; }
  .bl-lb { padding: 64px 12px 84px; }
  .bl-lb__prev, .bl-lb__next { top: auto; bottom: 16px; margin-top: 0; }
  .bl-lb__count { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .bl-pop::after, .bl-news__glow, .bl-offer__glow, .bl-consult__glow, .bl-empty__ico, .bl-count__live,
  .bl-news__card.is-in .bl-inbox__row.is-new, .bl-count__digits b.is-tick,
  .bl-quiz .is-in, .bl-quiz__q.is-fwd, .bl-quiz__q.is-back, .bl-quiz__result.is-in .bl-quiz__meter span, .bl-quiz__deadline > span { animation: none; }
  :is(.bl-fig__zoom, .bl-gallery__zoom, .bl-split__zoom):hover img { scale: none; }
  .bl-lb { transition: none; }
  .js .bl-grid:not(.is-in) .bl-card, .js .bl-news__card:not(.is-in) .bl-inbox__row { opacity: 1; translate: none; }
  .bl-tier__fill { scale: 1 1; transition: none; }
  .bl-commit__tick path { stroke-dashoffset: 0; }
  .bl-commit__tick { background: var(--cyan); border-color: var(--cyan); }
}
