/* ==========================================================================
   Academyship Blog — index (body.blg-index) and articles (body.blg-article).
   Prefix blg-. Uses style/pages-kit.css. Plain static pages.
   ========================================================================== */

:root {
  --pk-a1: #ffd43b;
  --pk-a2: #ff7ab8;
  --pk-a3: #a78bfa;
  --pk-a4: #22c98b;
  --pk-a5: #5b9bff;
  --pk-a6: #ff9838;
  --blg-ink: #101014;
  --blg-cream: #fff7e3;
  --blg-cat: var(--pk-a1);

  --ptx-bg-color: #fffdf6;
  --ptx-bg-minor: #ffe9a8;
  --ptx-bg-major: #dbe7ff;
  --ptx-bg-cross: #ffd0e4;
  --ptx-bg-highlight: #c9f5df;
  --ptx-bg-minor-op: 0.35;
  --ptx-bg-major-op: 0.40;
  --ptx-bg-cross-op: 0.55;
  --ptx-bg-highlight-op: 0.10;
}

/* category colours */
.blg-chip--admissions, .blg-cover--admissions, .blg-cat--admissions { --pk-accent: #5b9bff; --blg-cat: #5b9bff; --blg-cat-ink: #1e3a8a; }
.blg-chip--compliance, .blg-cover--compliance, .blg-cat--compliance { --pk-accent: #22c98b; --blg-cat: #22c98b; --blg-cat-ink: #065f46; }
.blg-chip--teaching, .blg-cover--teaching, .blg-cat--teaching { --pk-accent: #a78bfa; --blg-cat: #a78bfa; --blg-cat-ink: #4c1d95; }
.blg-chip--finance, .blg-cover--finance, .blg-cat--finance { --pk-accent: #ff9838; --blg-cat: #ff9838; --blg-cat-ink: #9a3412; }
.blg-chip--operations, .blg-cover--operations, .blg-cat--operations { --pk-accent: #ff7ab8; --blg-cat: #ff7ab8; --blg-cat-ink: #831843; }
.blg-chip--product, .blg-cover--product, .blg-cat--product { --pk-accent: #ffd43b; --blg-cat: #ffd43b; --blg-cat-ink: #713f12; }

.blg-meta {
  margin: 0;
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--pk-ink-soft);
}

/* ---------- generated covers ------------------------------------------ */
.blg-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blg-cat);
  border: 3px solid #000;
  border-radius: var(--pk-r-media);
  color: #000;
}
.blg-cover__pat {
  position: absolute;
  inset: -20%;
  opacity: .12;
  transition: transform 1.2s var(--pk-ease);
}
.blg-cover--admissions .blg-cover__pat { background-image: radial-gradient(#000 2.4px, transparent 2.6px); background-size: 22px 22px; }
.blg-cover--compliance .blg-cover__pat { background-image: linear-gradient(#000 2px, transparent 2px), linear-gradient(90deg, #000 2px, transparent 2px); background-size: 28px 28px; }
.blg-cover--teaching .blg-cover__pat { background-image: radial-gradient(circle at 50% 0, transparent 14px, #000 15px, #000 17px, transparent 18px); background-size: 36px 18px; }
.blg-cover--finance .blg-cover__pat { background-image: repeating-linear-gradient(45deg, #000 0 6px, transparent 6px 18px); }
.blg-cover--operations .blg-cover__pat { background-image: conic-gradient(#000 25%, transparent 0 50%, #000 0 75%, transparent 0); background-size: 30px 30px; }
.blg-cover--product .blg-cover__pat { background-image: repeating-conic-gradient(from 0deg at 50% 50%, #000 0 6deg, transparent 6deg 24deg); }
.blg-cover__icon {
  position: relative;
  width: clamp(56px, 22%, 96px);
  height: auto;
  padding: 14px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 3px;
  --pk-gx: 5px; --pk-gy: 5px; box-shadow: var(--pk-shadow);
  stroke-width: 1.8;
  transition: transform 400ms var(--pk-ease);
}
.blg-cover__no {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-family: "Welfare", "AnekBangla", system-ui, sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
}
.pk-card--link:hover .blg-cover__pat { transform: translate(18px, 12px); }
.pk-card--link:hover .blg-cover__icon { transform: rotate(8deg); }

/* ==========================================================================
   INDEX
   ========================================================================== */
.blg-mast {
  position: relative;
  padding: clamp(28px, 3.6vw, 56px) 0 clamp(36px, 4vw, 64px);
  overflow: hidden;
  --desk-c: var(--pk-a1);
}
.blg-mast > .pk-wrap { max-width: 1456px; padding-left: clamp(16px, 2.6vw, 48px); padding-right: clamp(16px, 2.6vw, 48px); }
.blg-mast__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 3.5vw, 64px);
}
.blg-mast__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.blg-mast__title { margin: 0; font-size: clamp(40px, 4.7vw, 84px); line-height: .94; text-wrap: initial; }
.blg-line { display: block; clip-path: inset(-.6em -2em -.02em -2em); padding: .04em .1em .06em 0; margin-bottom: -.06em; }
.blg-mast.is-settled .blg-line { clip-path: none; }
.blg-mast.is-settled .blg-mast__lede { transition: none; }
.blg-line > span { display: inline-block; }

/* highlighter swipe behind EDUCATION */
.blg-mark {
  position: relative;
  display: inline-block;
  padding: 0 .12em;
  margin-left: -.12em;
  isolation: isolate;
}
.blg-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; top: 18%; bottom: 4%;
  background: var(--desk-c);
  border: 3px solid #000;
  border-radius: 4px;
  rotate: -1.5deg;
  transform-origin: left center;
  transition: background-color 600ms var(--pk-ease);
}
.blg-mast__lede { margin: 0; font-size: clamp(16px, 1.15vw, 19px); max-width: 54ch; }
.blg-spark { position: absolute; width: .32em; height: .32em; color: #000; pointer-events: none; }
.blg-spark--1 { right: -.22em; top: -.12em; }
.blg-spark--2 { right: -.4em; top: .3em; width: .2em; height: .2em; }
.blg-spark--3 { left: -.3em; bottom: -.02em; width: .22em; height: .22em; }
.blg-mast.is-live .blg-spark { animation: blg-twinkle 2.4s ease-in-out calc(1.1s + var(--d, 0s)) infinite both; }
.blg-spark--2 { --d: .5s; }
.blg-spark--3 { --d: 1s; }
@keyframes blg-twinkle { 0%, 100% { transform: scale(.4) rotate(0deg); opacity: .25; } 45% { transform: scale(1.15) rotate(90deg); opacity: 1; } }
.blg-squig { position: relative; display: inline-block; }
.blg-squig__line { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .22em; overflow: visible; }
.blg-squig__line path { stroke: var(--desk-c); stroke-width: 7; transition: stroke 600ms var(--pk-ease); }
.blg-squig__line path + path { stroke: #000; stroke-width: 2.5; }
html.pk-js .blg-mast:not(.is-live) .blg-squig__line path { stroke-dashoffset: 1; }
.blg-squig__line path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 800ms var(--pk-ease) 1000ms, stroke 600ms var(--pk-ease); }
.blg-mast__chip { transition: transform 250ms cubic-bezier(.34, 1.6, .64, 1), box-shadow 200ms; }
.blg-mast__chip:hover { transform: translateY(-3px) rotate(-2deg); }
.blg-mast__chips > li:nth-child(even) .blg-mast__chip:hover { transform: translateY(-3px) rotate(2deg); }
.blg-mast__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.blg-mast__chip svg { flex: none; }

/* intro: lines rise, marker swipes, the rest fades up (JS adds .is-live after the preloader) */
html.pk-js .blg-mast:not(.is-live) .blg-line > span { transform: translateY(108%); }
html.pk-js .blg-mast:not(.is-live) .blg-mark::before { transform: scaleX(0); }
html.pk-js .blg-mast:not(.is-live) .blg-mast__badge,
html.pk-js .blg-mast:not(.is-live) .blg-mast__lede,
html.pk-js .blg-mast:not(.is-live) .blg-mast__chips > li,
html.pk-js .blg-mast:not(.is-live) .blg-desk { opacity: 0; transform: translateY(18px); }
.blg-line > span { transition: transform 900ms var(--pk-ease); }
.blg-line:nth-child(2) > span { transition-delay: 90ms; }
.blg-line:nth-child(3) > span { transition-delay: 180ms; }
.blg-mark::before { transition: transform 700ms var(--pk-ease) 650ms, background-color 600ms var(--pk-ease); }
.blg-mast__badge, .blg-mast__lede, .blg-mast__chips > li, .blg-desk { transition: opacity 700ms var(--pk-ease), transform 700ms var(--pk-ease); }
.blg-mast__lede { transition-delay: 380ms; }
.blg-mast__chips > li { transition-delay: calc(480ms + var(--i, 0) * 60ms); }
.blg-desk { transition-delay: 250ms; }

/* the desk: a stack of the newest articles that deals itself */
.blg-desk { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.blg-desk__stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 400 / 440;
  perspective: 1200px;
}
.blg-desk__halo {
  position: absolute;
  left: 50%; top: 56%;
  width: 84%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--desk-c);
  border: 3px solid #000;
  opacity: .9;
  transition: background-color 600ms var(--pk-ease);
}
.blg-desk__deck {
  position: absolute;
  inset: 9% 7% 0;
  transform-style: preserve-3d;
  transition: transform 500ms var(--pk-ease);
}
.blg-dcard {
  position: absolute;
  left: 0; right: 0; top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 12px 16px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 4px;
  --pk-gx: 6px; --pk-gy: 6px; box-shadow: var(--pk-shadow);
  color: #000;
  text-decoration: none;
  transform-origin: 50% 80%;
  transition: transform 650ms var(--pk-ease), opacity 450ms var(--pk-ease);
  will-change: transform;
}
.blg-dcard .blg-cover { aspect-ratio: 16 / 6.4; }
.blg-dcard .blg-cover__icon { width: clamp(48px, 18%, 76px); padding: 11px; }
.blg-dcard__chip { align-self: flex-start; font-size: 12px; }
.blg-dcard__title {
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
}
.blg-dcard[data-pos="0"] { z-index: 5; transform: translate3d(calc(var(--fan, 0) * -30px), calc(var(--fan, 0) * 14px), 0) rotate(calc(-1.5deg - var(--fan, 0) * 5deg)); }
.blg-dcard[data-pos="1"] { z-index: 4; transform: translate3d(calc(12px + var(--fan, 0) * 64px), calc(-12px - var(--fan, 0) * 6px), -20px) rotate(calc(1.5deg + var(--fan, 0) * 8deg)); }
.blg-dcard[data-pos="2"] { z-index: 3; transform: translate3d(calc(24px + var(--fan, 0) * 124px), calc(-24px - var(--fan, 0) * 28px), -40px) rotate(calc(4deg + var(--fan, 0) * 14deg)); }
.blg-dcard[data-pos="3"] { z-index: 2; opacity: var(--fan, 0); transform: translate3d(calc(24px - var(--fan, 0) * 96px), calc(-24px - var(--fan, 0) * 14px), -60px) rotate(calc(4deg - var(--fan, 0) * 14deg)); }
.blg-dcard[data-pos="4"] { z-index: 1; opacity: var(--fan, 0); transform: translate3d(calc(24px - var(--fan, 0) * 170px), calc(-24px - var(--fan, 0) * 44px), -80px) rotate(calc(4deg - var(--fan, 0) * 24deg)); }
.blg-dcard.is-out { z-index: 6; opacity: 0; transform: translate3d(38%, 22%, 0) rotate(16deg) scale(.94); }
.blg-dcard.is-back { transition: none; opacity: 0; }
.blg-dcard[data-pos="0"]:hover .blg-cover__icon { transform: rotate(8deg); }

.blg-desk__stamp {
  position: absolute;
  z-index: 7;
  right: -3%;
  bottom: 6%;
  width: clamp(80px, 7vw, 104px);
  height: auto;
  rotate: 10deg;
  overflow: visible;
}
.blg-desk__stamp text { font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0; fill: #000; }
.blg-desk__stamp-ring { transform-origin: 60px 60px; animation: blg-spin 18s linear infinite; }

.blg-desk__bar { display: flex; align-items: center; gap: 14px; width: min(100%, 400px); }
.blg-desk__now { margin: 0; flex: 1; min-width: 0; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blg-desk__now-k { display: inline-block; margin-right: 6px; padding: 2px 8px; background: #000; color: #fff; border-radius: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.blg-desk__dots { display: flex; gap: 6px; }
.blg-desk__dot { position: relative; width: 10px; height: 10px; overflow: hidden; background: #fff; border: 2px solid #000; border-radius: 999px; transition: width 400ms var(--pk-ease); }
.blg-desk__dot.is-on { width: 34px; }
.blg-desk__dot.is-on::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blg-cat, #000);
  transform-origin: left center;
  animation: blg-fill var(--desk-ms, 4200ms) linear forwards;
}
.blg-desk.is-paused .blg-desk__dot.is-on::after { animation-play-state: paused; }
@keyframes blg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blg-spin { to { rotate: 360deg; } }
.blg-desk__pause {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 50%;
  --pk-gx: 3px; --pk-gy: 3px; box-shadow: var(--pk-shadow);
  cursor: pointer;
}
.blg-desk__pause:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.blg-desk__ico-play { display: none; }
.blg-desk__pause[aria-pressed="true"] .blg-desk__ico-play { display: block; }
.blg-desk__pause[aria-pressed="true"] .blg-desk__ico-pause { display: none; }
html:not(.pk-js) .blg-desk { display: none; }
html:not(.pk-js) .blg-mast__in { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 1023px) {
  .blg-mast__in { grid-template-columns: minmax(0, 1fr); }
  .blg-desk__stage { width: min(100%, 400px); }
  .blg-desk__bar { width: min(100%, 400px); }
}
@media (max-width: 479px) {
  .blg-desk__stage { width: min(100%, 330px); }
  .blg-dcard { padding: 10px 10px 12px; gap: 10px; }
  .blg-desk__now { font-size: 13px; }
}

/* featured + posts: wide column (same measure as the contact page), not the 1240px kit default */
.blg-featured > .pk-wrap,
.blg-posts > .pk-wrap { max-width: 1800px; padding-left: clamp(16px, 2.6vw, 48px); padding-right: clamp(16px, 2.6vw, 48px); }

/* featured */
.blg-featured { padding-bottom: clamp(24px, 4vw, 48px); }
.blg-feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(16px, 2vw, 24px);
  background: #fff;
}
.blg-feat .blg-cover { width: 100%; min-width: 0; align-self: stretch; aspect-ratio: auto; min-height: 260px; }
.blg-feat__text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 8px 12px; }
.blg-ribbon {
  margin: 0;
  padding: 4px 12px;
  background: #000;
  color: #fff;
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
}
.blg-feat__title {
  font-family: "Welfare", "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.08;
  text-wrap: balance;
}
.blg-feat__title a { text-decoration: none; }
.blg-feat__ex { color: var(--pk-ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blg-feat__btn { margin-top: auto; }
@media (min-width: 900px) {
  .blg-feat { grid-template-columns: 55fr 45fr; gap: 36px; }
  .blg-feat__text { justify-content: center; padding: 20px 12px 20px 0; }
}

/* posts */
.blg-posts { padding-top: clamp(40px, 5vw, 64px); }
.blg-posts__title { margin: 0; }
.blg-posts__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 48px;
  margin-bottom: 24px;
}
.blg-filter {
  position: sticky;
  top: var(--blg-nav-h, 58px);
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 32px;
  padding: 14px 16px;
  background: #fffdf6;
  border: 3px solid #000;
  border-radius: 3px;
  --pk-gx: 5px; --pk-gy: 5px; box-shadow: var(--pk-shadow);
}
.blg-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.blg-fbtn { gap: 8px; }
.blg-fbtn__n {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--blg-cat, #fff);
  border: 2px solid #000;
  border-radius: 999px;
  font-size: 12px;
  color: #000;
}
.blg-fbtn[data-filter="all"] .blg-fbtn__n { background: #fff; }
.blg-filter__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.blg-search {
  position: relative;
  display: flex;
  align-items: center;
}
.blg-search__icon { position: absolute; left: 14px; pointer-events: none; }
.blg-search__input {
  width: 340px;
  padding: 11px 14px 11px 40px;
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  background: #fff;
  border: 2px solid #000;
  border-radius: 999px;
  outline: none;
}
.blg-search__input:focus-visible { box-shadow: 0 0 0 4px var(--pk-a1); }
.blg-count { margin: 0; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 14px; }
@media (max-width: 767px) {
  .blg-filter__chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: thin; }
  .blg-fbtn { flex: none; }
  .blg-filter__row { width: 100%; }
  .blg-search, .blg-search__input { width: 100%; }
}

.blg-grid { align-items: stretch; }
.blg-card .blg-cover { aspect-ratio: 12 / 5; }
.blg-card .blg-cover__icon { width: clamp(48px, 13%, 70px); padding: 11px; }

/* deal-in: each article box is dealt onto the desk as it enters the viewport
   (JS adds .blg-deal, then .is-dealt; both classes come off once it lands) */
html.pk-js .blg-deal { opacity: 0; transform: translateY(90px) rotate(var(--deal-r, -6deg)) scale(.9); transition: none; }
html.pk-js .blg-deal.is-dealt {
  opacity: 1;
  transform: none;
  transition: transform 760ms cubic-bezier(.34, 1.45, .64, 1) var(--deal-d, 0ms), opacity 260ms ease-out var(--deal-d, 0ms);
}
.blg-deal.is-dealt .blg-cover__icon { animation: blg-pop 620ms cubic-bezier(.34, 1.6, .64, 1) calc(var(--deal-d, 0ms) + 260ms) backwards; }
.blg-deal.is-dealt .blg-cover__pat { animation: blg-slide 900ms var(--pk-ease) calc(var(--deal-d, 0ms) + 120ms) backwards; }
.blg-deal.is-dealt .blg-cover__no { animation: blg-no 500ms var(--pk-ease) calc(var(--deal-d, 0ms) + 380ms) backwards; }
@keyframes blg-pop { from { transform: scale(.2) rotate(-35deg); opacity: 0; } }
@keyframes blg-slide { from { transform: translate(-40px, -26px); } }
@keyframes blg-no { from { transform: translateX(-16px); opacity: 0; } }
.blg-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 22px;
  background: #fff;
}
.blg-card .blg-cover { margin-bottom: 6px; }
.blg-card__chip { align-self: flex-start; }
.blg-card__title {
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* a real underline, so it sits just under the letters on every line (a background
   line rides the bottom of the font's tall line box and touches the next line) */
.blg-card__title a {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: transparent;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
  transition: text-decoration-color 250ms var(--pk-ease), text-underline-offset 300ms var(--pk-ease);
}
.blg-card:hover .blg-card__title a,
.blg-card__title a:focus-visible { text-decoration-color: #000; text-underline-offset: 3px; }
.blg-card__ex { color: var(--pk-ink-soft); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blg-card .blg-meta { margin-top: auto; padding-right: 48px; }
.blg-card__plus {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  background: #000;
  border-radius: 50%;
  transition: transform 300ms var(--pk-ease);
}
.blg-card__plus::before,
.blg-card__plus::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 18px;
  width: 16px;
  height: 2px;
  background: #fff;
}
.blg-card__plus::after { transform: rotate(90deg); }
.blg-card:hover .blg-card__plus { transform: rotate(135deg); }

.blg-soon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  padding: 28px;
  border: 3px dashed #000;
  border-radius: var(--pk-r-card);
  background: rgb(255 255 255 / .6);
}
.blg-soon__icon { display: grid; place-items: center; width: 64px; height: 64px; background: var(--pk-a1); border: 3px solid #000; border-radius: 3px; }
.blg-soon__title { font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; }
.blg-soon p { color: var(--pk-ink-soft); }
.blg-empty { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--blg-cream); }
.blg-empty[hidden] { display: none; }
.blg-is-out { display: none; }

/* start here (hidden until five articles exist) */
.blg-start__in { display: grid; gap: 28px; }
.blg-start__panel {
  padding: 36px;
  background: var(--pk-a3);
  border: 3px solid #000;
  border-radius: var(--pk-r-card);
  box-shadow: var(--pk-shadow);
}
.blg-start__panel p { margin-top: 12px; font-size: 18px; }
.blg-start__list li { border-top: 3px solid #000; }
.blg-start__list li:last-child { border-bottom: 3px solid #000; }
.blg-start__list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 12px;
  text-decoration: none;
  background-image: linear-gradient(var(--blg-cat), var(--blg-cat));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms var(--pk-ease);
}
.blg-start__list a:hover { background-size: 100% 100%; }
@media (min-width: 1024px) { .blg-start__in { grid-template-columns: 5fr 7fr; } }

/* topic band */
.blg-topics .pk-band { padding: 16px 0; }
.blg-topics__mq { --pk-marquee-s: 38s; }
.blg-topic { font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-size: clamp(26px, 3vw, 40px); line-height: 1; white-space: nowrap; }

/* closing card */
.blg-cta__card {
  position: relative;
  max-width: none;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px);
  background: var(--blg-ink);
  color: #fff;
  border: 3px solid #000;
  border-radius: 3px;
  --pk-gx: 10px; --pk-gy: 10px; --pk-sheet-line: var(--pk-a1); box-shadow: var(--pk-shadow);
  overflow: hidden;
  isolation: isolate;
}
.blg-cta__bg { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: .07; }
.blg-cta__mq { --pk-marquee-s: 55s; -webkit-mask-image: none; mask-image: none; }
.blg-cta__mq .pk-marquee__track { gap: 44px; }
.blg-cta__mq span { font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-size: clamp(40px, 6vw, 86px); line-height: 1; color: #fff; white-space: nowrap; }
.blg-cta__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 720px; }
.blg-cta__badge { background: #fff; color: #000; }
.blg-cta__title { color: #fff; }
.blg-cta__p { color: #e4e4ec; font-size: clamp(18px, 1.5vw, 21px); }

/* ==========================================================================
   ARTICLE
   ========================================================================== */
.blg-progress { position: fixed; left: 0; right: 0; top: 58px; z-index: 50; height: 5px; pointer-events: none; }
.blg-progress__bar { display: block; height: 100%; background: var(--blg-cat); border-bottom: 1px solid #000; transform: scaleX(0); transform-origin: 0 50%; }
html:not(.pk-js) .blg-progress { display: none; }

.blg-head {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: 32px;
}
.blg-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 14px; }
.blg-crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--pk-ink-soft); }
.blg-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.blg-head__title { font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.06; text-wrap: balance; }
.blg-head__stand { margin: 0; }
.blg-artcover { max-width: 1100px; }
.blg-artcover .blg-cover { --pk-gx: 9px; --pk-gy: 9px; box-shadow: var(--pk-shadow); aspect-ratio: auto; height: clamp(140px, 12.5vw, 210px); }


/* ---------- Article cover scenes (gen-cover-scenes.mjs) ----------------- */
.blg-scene {
  position: relative;
  height: 86%;
  width: auto;
  max-width: calc(100% - 24px);
  fill: #fff;
  stroke: #000;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* phones: the scene sits above the "No." label instead of under it */
@media (max-width: 600px) {
  .blg-artcover .blg-cover { height: 158px; }
  .blg-scene { align-self: start; height: 72%; margin-top: 10px; }
}
.blg-scene text { fill: #000; stroke: none; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 600; }
.blg-scene .sc-mid { text-anchor: middle; dominant-baseline: central; }
.blg-scene .sc-end { text-anchor: end; }
.blg-scene .sc-heavy { font-weight: 800; }
.blg-scene .sc-display { font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-weight: 700; }
.blg-scene [style*="--d"] { animation-delay: var(--d); }

/* shared moves */
.sc-draw { stroke-dasharray: 1; animation: sc-draw 6s var(--pk-ease) infinite backwards; }
@keyframes sc-draw { 0% { stroke-dashoffset: 1; } 12%, 82% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 1; } }
.sc-pop, .sc-badge, .sc-stamp, .sc-spark, .sc-grow, .sc-blink, .sc-wave, .sc-lid, .sc-swing, .sc-fill { transform-box: fill-box; transform-origin: center; }
.sc-pop { animation: sc-pop 6s cubic-bezier(.34, 1.6, .64, 1) infinite backwards; }
@keyframes sc-pop { 0% { transform: scale(0); opacity: 0; } 10%, 84% { transform: scale(1); opacity: 1; } 92%, 100% { transform: scale(0); opacity: 0; } }
.sc-badge { animation: sc-badge 6s cubic-bezier(.34, 1.6, .64, 1) infinite backwards; }
@keyframes sc-badge { 0% { transform: scale(0); opacity: 0; } 8%, 50% { transform: scale(1); opacity: 1; } 58%, 100% { transform: scale(0); opacity: 0; } }
.sc-bob { animation: sc-bob 1.6s ease-in-out infinite alternate; }
@keyframes sc-bob { to { transform: translateY(-6px); } }
.sc-march { animation: sc-march 1s linear infinite; }
@keyframes sc-march { to { stroke-dashoffset: -28; } }
.sc-hop { animation: sc-hop 1.6s ease-in-out infinite; }
@keyframes sc-hop { 50% { transform: translateY(-8px); } }
.sc-wave { transform-origin: 0 50%; animation: sc-wave 1.2s ease-in-out infinite; }
@keyframes sc-wave { 50% { transform: skewY(-8deg) scaleX(.86); } }
.sc-swing { transform-origin: 0 50%; animation: sc-swing 2.4s ease-in-out infinite; }
@keyframes sc-swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* audit: the stamp lands once the checklist is ticked */
.sc-stamp { animation: sc-stamp 6s cubic-bezier(.3, 1.4, .6, 1) infinite backwards; }
@keyframes sc-stamp { 0% { transform: scale(2.2); opacity: 0; } 6%, 50% { transform: scale(1); opacity: 1; } 58%, 100% { transform: scale(1); opacity: 0; } }
/* privacy: data flows into the shield, the lock closes, the robot blinks */
.sc-flow { animation: sc-flow 2s linear infinite backwards; }
@keyframes sc-flow { 0% { transform: translateX(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateX(88px); opacity: 0; } }
.sc-shackle { animation: sc-shackle 4s ease infinite; }
@keyframes sc-shackle { 0%, 30% { transform: translateY(-8px); } 40%, 90% { transform: translateY(0); } 100% { transform: translateY(-8px); } }
.sc-blink { animation: sc-blink 4s infinite; }
@keyframes sc-blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
/* gift: the lid hops and sparkles fly */
.sc-lid { transform-origin: 0 100%; animation: sc-lid 3s ease infinite; }
@keyframes sc-lid { 0%, 40%, 100% { transform: translateY(0) rotate(0); } 55% { transform: translateY(-22px) rotate(-10deg); } 70% { transform: translateY(-16px) rotate(-6deg); } 85% { transform: translateY(0) rotate(0); } }
.sc-spark { animation: sc-spark 3s ease infinite backwards; }
@keyframes sc-spark { 0%, 45% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.2); opacity: 1; } 75%, 100% { transform: scale(0); opacity: 0; } }
/* demos: the magnifier checks each screen in turn */
.sc-scan { transform: translate(465px, 104px); animation: sc-scan 6s ease-in-out infinite; }
@keyframes sc-scan { 0%, 8% { transform: translate(135px, 104px); } 22%, 30% { transform: translate(300px, 104px); } 44%, 90% { transform: translate(465px, 104px); } 100% { transform: translate(135px, 104px); } }
/* belt: three tasks, three bins */
.sc-task { animation: 4.2s ease-in-out infinite backwards; }
.sc-task--a { transform: translate(30px, 70px); animation-name: sc-task-a; }
.sc-task--b { transform: translate(120px, 70px); animation-name: sc-task-b; }
.sc-task--c { transform: translate(210px, 70px); animation-name: sc-task-c; }
@keyframes sc-task-a { 0% { transform: translate(20px, 70px); opacity: 0; } 6% { opacity: 1; } 40% { transform: translate(236px, 70px); } 55% { transform: translate(318px, 30px); } 70% { transform: translate(348px, 104px); opacity: 1; } 78%, 100% { transform: translate(348px, 124px); opacity: 0; } }
@keyframes sc-task-b { 0% { transform: translate(20px, 70px); opacity: 0; } 6% { opacity: 1; } 40% { transform: translate(236px, 70px); } 55% { transform: translate(360px, 12px); } 70% { transform: translate(438px, 104px); opacity: 1; } 78%, 100% { transform: translate(438px, 124px); opacity: 0; } }
@keyframes sc-task-c { 0% { transform: translate(20px, 70px); opacity: 0; } 6% { opacity: 1; } 40% { transform: translate(236px, 70px); } 55% { transform: translate(400px, 2px); } 70% { transform: translate(528px, 104px); opacity: 1; } 78%, 100% { transform: translate(528px, 124px); opacity: 0; } }
/* cost: the extras slide out from under the quote, bars grow, a coin lands */
.sc-extra { animation: sc-extra 6s ease infinite; }
@keyframes sc-extra { 0%, 15% { transform: translateY(-56px); } 30%, 85% { transform: translateY(0); } 95%, 100% { transform: translateY(-56px); } }
.sc-grow { transform-origin: 50% 100%; animation: sc-grow 6s var(--pk-ease) infinite backwards; }
@keyframes sc-grow { 0% { transform: scaleY(0); } 15%, 85% { transform: scaleY(1); } 95%, 100% { transform: scaleY(0); } }
.sc-coin { transform: translateY(37px); animation: sc-coin 6s ease-in infinite backwards; }
@keyframes sc-coin { 0% { transform: translateY(-20px); opacity: 0; } 10% { opacity: 1; } 30% { transform: translateY(37px); } 36% { transform: translateY(29px); } 42%, 85% { transform: translateY(37px); opacity: 1; } 95%, 100% { transform: translateY(37px); opacity: 0; } }
/* stack: the blocks drop in */
.sc-drop { animation: sc-drop 6s ease-in infinite backwards; }
@keyframes sc-drop { 0% { transform: translateY(-150px); opacity: 0; } 8% { opacity: 1; } 16% { transform: translateY(0); } 20% { transform: translateY(-8px); } 24%, 84% { transform: translateY(0); opacity: 1; } 92%, 100% { transform: translateY(0); opacity: 0; } }
.blg-scene--stack .sc-swing { transform-origin: 50% 0; }
/* move: files arc from the old box to the new one */
.sc-fly { transform: translate(280px, 4px); animation: sc-fly 3s ease-in-out infinite backwards; }
@keyframes sc-fly { 0% { transform: translate(98px, 100px) scale(.6); opacity: 0; } 10% { transform: translate(98px, 60px) scale(1); opacity: 1; } 50% { transform: translate(280px, 4px) rotate(8deg); } 85% { transform: translate(462px, 60px) rotate(0); opacity: 1; } 95% { transform: translate(462px, 100px) scale(.6); opacity: 1; } 100% { transform: translate(462px, 104px) scale(.5); opacity: 0; } }
.sc-fill { transform-origin: 0 50%; animation: sc-fill 6s linear infinite; }
@keyframes sc-fill { 0% { transform: scaleX(0); } 80%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* notes: the pen writes, the plane flies past */
.sc-pen { transform: translate(410px, 132px); animation: sc-pen 6s linear infinite; }
@keyframes sc-pen {
  0% { transform: translate(330px, 66px); } 12% { transform: translate(422px, 66px); }
  13.3% { transform: translate(330px, 88px); } 25.3% { transform: translate(422px, 88px); }
  26.7% { transform: translate(330px, 110px); } 38.7% { transform: translate(422px, 110px); }
  40% { transform: translate(330px, 132px); } 52% { transform: translate(410px, 132px); }
  60%, 90% { transform: translate(440px, 150px); } 100% { transform: translate(330px, 66px); }
}
.sc-plane { transform: translate(470px, 40px) rotate(15deg); animation: sc-plane 7s linear infinite; }
@keyframes sc-plane { 0% { transform: translate(-50px, 150px) rotate(-25deg); } 30% { transform: translate(130px, 40px) rotate(-10deg); } 50% { transform: translate(300px, 10px) rotate(0); } 70% { transform: translate(470px, 40px) rotate(15deg); } 100% { transform: translate(650px, 10px) rotate(-15deg); } }

@media (prefers-reduced-motion: reduce) {
  .blg-scene * { animation: none !important; }
  .blg-scene--move .sc-fly + .sc-fly { opacity: 0; }
}
/* ---------- end article cover scenes */

.blg-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: clamp(40px, 5vw, 64px); }
.blg-content { min-width: 0; max-width: 980px; margin: 0 auto; width: 100%; }
.blg-rail, .blg-side { display: none; }
/* Article pages use a wider frame than the site's 1240px wrap, so the
   reading column, header and cover fill large screens. */
.blg-article .blg-head, .blg-article .blg-artcover, .blg-article .blg-layout { max-width: 1480px; }
.blg-article .blg-head { padding-bottom: 28px; }
@media (min-width: 1200px) {
  .blg-layout { grid-template-columns: 56px minmax(0, 1fr) 280px; justify-content: center; gap: 44px; }
  .blg-rail { display: block; position: relative; }
  .blg-side { display: block; }
  /* header and cover start where the reading column starts (rail 56px + gap 44px) */
  .blg-article .blg-head, .blg-article .blg-artcover { padding-left: calc(var(--pk-gutter) + 100px); }
  .blg-article .blg-head__stand { max-width: 980px; }
  .blg-prose { font-size: 20px; }
}
.blg-rail__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: rgb(0 0 0 / .1); border-radius: 2px; }
.blg-rail__fill { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--blg-cat); border: 1px solid #000; transform: scaleY(0); transform-origin: 50% 0; }
.blg-rail__dot { position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--blg-cat); border: 3px solid #000; border-radius: 50%; }
html:not(.pk-js) .blg-rail { display: none; }

.blg-take { background: var(--pk-a1); margin-bottom: 40px; }
.blg-take__title { font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-size: 30px; line-height: 1.1; margin-bottom: 14px; }
.blg-take ul { display: flex; flex-direction: column; gap: 10px; }
.blg-take li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; }
.blg-take li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: #fff; border: 3px solid #000; border-radius: 4px; }
.blg-take li:nth-child(5n+1)::before { background: var(--pk-a2); }
.blg-take li:nth-child(5n+2)::before { background: var(--pk-a3); }
.blg-take li:nth-child(5n+3)::before { background: var(--pk-a4); }
.blg-take li:nth-child(5n+4)::before { background: var(--pk-a5); }
.blg-take li:nth-child(5n+5)::before { background: var(--pk-a6); }
/* article title: a hard shadow in the article's category colour */
.blg-article .blg-head__title { text-shadow: 2px 2px 0 var(--blg-cat); }

/* prose */
.blg-prose { font-family: "NibPro", Georgia, serif; font-size: 19px; line-height: 1.7; }
.blg-prose > * + * { margin-top: 22px; }
.blg-prose h2 { font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 34px; line-height: 1.1; margin-top: 56px; scroll-margin-top: 100px; }
/* section headings: a deep shade of the article's category colour
   (each shade passes the 4.5:1 contrast check on the page background) */
.blg-prose h2 { color: var(--blg-cat-ink, #101014); }
.blg-prose h3 { font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 24px; line-height: 1.25; margin-top: 36px; }
/* sub-headings: a diamond marker in the category colour */
.blg-prose h3 { position: relative; padding-left: 30px; scroll-margin-top: 100px; }
.blg-prose h3::before { content: ""; position: absolute; left: 3px; top: .42em; width: 13px; height: 13px; background: var(--blg-cat); border: 3px solid #000; transform: rotate(45deg); }
.blg-prose strong { font-weight: 700; }
/* another company's product: named, never linked, set apart in dark purple */
.blg-prose .blg-brand { color: #4c1d95; font-weight: 700; }
/* "Academyship" in running text: the logo-kit wordmark in its royal-blue version
   (letters #1D4ED8, star #1E1B4B, the logo kit's midnight, so it stays crisp at text size; hover line #FB7185), always a link. It is drawn through the site's
   own wordmark files used as masks, so the colours are set here. The real word
   stays inside the link for screen readers, search engines and copy-paste. */
.blg-as { color: #1D4ED8; font-weight: 700; text-decoration: none; }
.blg-prose a.blg-as { text-decoration: none; }
.blg-nb { white-space: nowrap; }
@supports ((-webkit-mask-image: url("x.svg")) or (mask-image: url("x.svg"))) {
  .blg-as {
    /* 1.04em makes the wordmark's lowercase letters the same height as the text around it */
    --as-h: 1.04em;
    position: relative;
    display: inline-block;
    width: calc(var(--as-h) * 5.851);
    height: var(--as-h);
    /* the letters' baseline sits a quarter of the way up the artwork */
    vertical-align: calc(var(--as-h) * -.249);
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
    transition: transform 160ms var(--pk-ease), box-shadow 160ms var(--pk-ease);
  }
  .blg-as::before, .blg-as::after { content: ""; position: absolute; inset: 0; }
  .blg-as::before { background: #1D4ED8; -webkit-mask: url("../assets/brand/academyship-wordmark-preloader.svg") center / 100% 100% no-repeat; mask: url("../assets/brand/academyship-wordmark-preloader.svg") center / 100% 100% no-repeat; }
  .blg-as::after { background: #1E1B4B; -webkit-mask: url("../assets/brand/academyship-wordmark-preloader-star.svg") center / 100% 100% no-repeat; mask: url("../assets/brand/academyship-wordmark-preloader-star.svg") center / 100% 100% no-repeat; }
  .blg-as:hover { transform: translateY(-2px); box-shadow: 0 3px 0 #FB7185; }
  .blg-as:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
  @media (forced-colors: active) {
    .blg-as { display: inline; width: auto; height: auto; overflow: visible; color: LinkText; vertical-align: baseline; }
    .blg-as::before, .blg-as::after { display: none; }
  }
}
.blg-prose p, .blg-prose li { text-wrap: pretty; }
.blg-prose h2, .blg-prose h3 { text-wrap: balance; }
/* smaller headings on narrow phones, so a heading's last three words always fit on one line */
@media (max-width: 479px) { .blg-prose h2 { font-size: 28px; } .blg-prose h3 { font-size: 21px; padding-left: 27px; } .blg-prose h3::before { width: 11px; height: 11px; } }
.blg-prose a { text-decoration: underline; text-decoration-color: var(--blg-cat); text-decoration-thickness: 3px; text-underline-offset: 4px; transition: text-decoration-thickness 160ms var(--pk-ease); }
.blg-prose a:hover { text-decoration-thickness: 6px; }
/* links to other Academyship pages: a coloured tag with an arrow, so they stand
   apart from links to outside sources (which keep the plain underline) */
.blg-prose a[href^="../"]:not(.pk-btn):not(.blg-dl):not(.blg-as), .blg-prose a[href^="/"]:not(.pk-btn):not(.blg-dl):not(.blg-as) {
  padding: .16em .45em .18em;
  font-size: .9em;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  background: var(--blg-tag, var(--blg-cat));
  border: 1.5px solid #000;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  white-space: nowrap;
  transition: background-color 160ms var(--pk-ease);
}
.blg-prose a[href^="../"]:not(.pk-btn):not(.blg-dl):not(.blg-as)::after, .blg-prose a[href^="/"]:not(.pk-btn):not(.blg-dl):not(.blg-as)::after {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-left: .32em;
  vertical-align: -.06em;
  background-color: currentColor;
  -webkit-mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.blg-prose a[href^="../"]:not(.pk-btn):not(.blg-dl):not(.blg-as):hover, .blg-prose a[href^="/"]:not(.pk-btn):not(.blg-dl):not(.blg-as):hover { background: var(--pk-a1); }
/* button rows inside an article */
.blg-prose .blg-btns { display: flex; flex-wrap: wrap; gap: 16px 18px; margin-top: 28px; margin-bottom: 8px; }
.blg-prose a.pk-btn { text-decoration: none; }
@media (max-width: 639px) { .blg-prose .blg-btns .pk-btn { width: 100%; } }
.blg-prose ul, .blg-prose ol { display: flex; flex-direction: column; gap: 12px; padding-left: 0; }
.blg-prose ul > li { position: relative; padding-left: 28px; }
.blg-prose ul > li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 12px; background: var(--blg-cat); border: 2px solid #000; }
.blg-prose ol { counter-reset: blg; }
/* download button inside an article (e.g. a printable scorecard) */
.blg-prose .blg-dl-row { margin-top: 30px; margin-bottom: 8px; }
.blg-prose a.blg-dl {
  --pk-accent: #ff7ab8;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  font-size: 18px;
  text-align: left;
  text-decoration: none;
  color: #000;
  background: linear-gradient(105deg, #ff7ab8 0%, #ff9838 50%, #ffd43b 100%);
  background-size: 180% 100%;
  background-position: 0% 50%;
  transition: var(--pk-sheet-t), background-position 600ms var(--pk-ease);
}
.blg-prose a.blg-dl:hover { background-position: 100% 50%; }
.blg-dl__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; background: #fff; border: 3px solid #000; border-radius: 50%; transition: transform 300ms var(--pk-ease); }
.blg-dl:hover .blg-dl__icon { transform: translateY(3px); }
.blg-dl__tag { flex: none; padding: 4px 10px; background: #000; color: #fff; border-radius: 999px; font-size: 13px; letter-spacing: .08em; }
@media (max-width: 639px) { .blg-prose a.blg-dl { display: flex; width: 100%; font-size: 16px; } .blg-dl__text { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .blg-prose a.blg-dl, .blg-dl__icon { transition: none; } .blg-dl:hover .blg-dl__icon { transform: none; } }
.blg-prose ol > li { position: relative; padding-left: 44px; counter-increment: blg; }
.blg-prose ol > li::before { content: counter(blg); position: absolute; left: 0; top: .12em; display: grid; place-items: center; width: 30px; height: 30px; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 15px; line-height: 1; background: var(--blg-cat); border: 2px solid #000; border-radius: 50%; }
.blg-prose blockquote { margin-left: 0; margin-right: 0; padding: 6px 0 6px 22px; border-left: 6px solid var(--blg-cat); font-size: 23px; line-height: 1.5; }
.blg-prose blockquote { padding: 16px 20px 16px 22px; background: #fff; background: color-mix(in srgb, var(--blg-cat) 22%, #fff); border: 3px solid #000; border-left: 12px solid #000; border-radius: 3px; box-shadow: 5px 5px 0 var(--blg-cat); }
.blg-prose code { padding: 1px 6px; background: #f1efe7; border-radius: 4px; font-size: .9em; }
.blg-prose figure { margin-left: 0; margin-right: 0; }
.blg-prose figcaption { margin-top: 8px; font-size: 15px; color: var(--pk-ink-soft); }
.blg-callout { display: flex; gap: 14px; padding: 18px 20px; background: var(--blg-cream); border: 3px solid #000; border-radius: 3px; font-size: 17px; }
.blg-callout { background: color-mix(in srgb, var(--blg-cat) 14%, #fff); box-shadow: 5px 5px 0 #000; }
/* a callout with more than one paragraph keeps them stacked beside the icon */
.blg-callout__body { min-width: 0; }
.blg-callout__body > p + p { margin-top: .75em; }
.blg-callout > svg { padding: 3px; width: 32px; height: 32px; background: var(--blg-cat); border: 2px solid #000; border-radius: 50%; }
.blg-table { overflow-x: auto; border: 3px solid #000; border-radius: 3px; }
.blg-table { background: #fff; box-shadow: 5px 5px 0 #000; }
.blg-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.blg-table th { background: #000; color: #fff; text-align: left; padding: 10px 12px; font-family: "AnekBangla", system-ui, sans-serif; }
.blg-table th { background: var(--blg-cat); color: #000; border-bottom: 3px solid #000; }
.blg-table td { padding: 10px 12px; border-top: 2px solid #000; }
.blg-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--blg-cat) 13%, #fff); }
.blg-table td:first-child { font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; }
.blg-table td { line-height: 1.55; }
.blg-table td:first-child { line-height: 1.3; }
/* the label column takes the width its labels need; the text column gives it up */
@media (min-width: 640px) { .blg-table th:first-child, .blg-table td:first-child { white-space: nowrap; padding-right: 22px; } }
/* a table whose first column holds sentences (not short row labels) wraps it, at about a third of the width */
@media (min-width: 640px) { .blg-table--wrap th:first-child, .blg-table--wrap td:first-child { white-space: normal; width: 34%; } }

/* photo beside the name and role; the bio runs the full card width, starting under the photo */
.blg-author { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; align-items: start; margin-top: 56px; background: #fff; }
.blg-author > div { display: contents; }
.blg-author > div > * { grid-column: 2; }
.blg-author__mark { grid-row: 1 / span 3; align-self: center; display: grid; place-items: center; flex: none; width: 64px; height: 64px; background: var(--blg-cat); border: 3px solid #000; border-radius: 50%; }
.blg-author > div > .blg-author__bio { grid-column: 1 / -1; margin-top: 14px; }
.blg-author__name { font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; margin-top: 4px; }
.blg-author__role { font-size: 15px; color: var(--pk-ink-soft); }
.blg-author__bio { margin-top: 10px; font-size: 16px; }

/* table of contents card */
.blg-toc { position: sticky; top: 100px; background: #fff; padding: 20px; }
/* a long contents list scrolls inside the card instead of running below the window */
.blg-toc { max-height: calc(100vh - 124px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.blg-toc__title { font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.blg-toc__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
/* contents links: regular weight, each with a numbered tag in the article's colour */
.blg-toc__list, .blg-pill__panel ol { counter-reset: blg-toc; }
.blg-toc__list a, .blg-pill__panel a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 7px 10px 7px 8px;
  border-radius: 3px;
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.12;
  text-decoration: none;
  counter-increment: blg-toc;
  transition: background-color 200ms var(--pk-ease);
}
.blg-toc__list a::before, .blg-pill__panel a::before {
  content: counter(blg-toc, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 28px;
  height: 22px;
  background: var(--blg-cat);
  border: 2px solid #000;
  border-radius: 3px;
  box-shadow: 2px 2px 0 #000;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .02em;
  margin-top: -3px;
  rotate: -5deg;
  transition: rotate 250ms cubic-bezier(.34, 1.6, .64, 1), background-color 200ms, color 200ms;
}
.blg-toc__list li:nth-child(even) a::before, .blg-pill__panel li:nth-child(even) a::before { rotate: 4deg; }
.blg-toc__list a:hover::before, .blg-pill__panel a:hover::before { rotate: 0deg; }
.blg-toc__list a:hover, .blg-pill__panel a:hover { background: rgb(0 0 0 / .05); }
.blg-toc__list a[aria-current="true"] { background: rgb(0 0 0 / .06); box-shadow: inset 3px 0 0 var(--blg-cat); }
.blg-toc__list a[aria-current="true"]::before { background: #000; color: #fff; border-color: #000; box-shadow: 2px 2px 0 var(--blg-cat); rotate: 0deg; }
.blg-copy { width: 100%; font-size: 15px; padding: 10px 14px; }

/* floating pill (< 1200px) */
.blg-pill {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  translate: -50% 0;
  width: min(92vw, 380px);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  transition: opacity 240ms var(--pk-ease), transform 240ms var(--pk-ease);
}
.blg-pill.is-away { opacity: 0; transform: translateY(24px); pointer-events: none; }
.blg-pill[hidden] { display: none; }
@media (min-width: 1200px) { .blg-pill { display: none; } }
.blg-pill__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 10px 18px 10px 12px;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 999px;
  --pk-gx: 4px; --pk-gy: 4px; --pk-sheet-line: var(--blg-cat); box-shadow: var(--pk-shadow);
  cursor: pointer;
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.blg-pill__btn:focus-visible { outline: 3px solid var(--blg-cat); outline-offset: 3px; }
.blg-pill__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blg-pill__ring { flex: none; }
.blg-pill__ring circle { fill: none; stroke: rgb(255 255 255 / .25); stroke-width: 3; }
.blg-pill__ring .blg-pill__ring-fg { stroke: var(--blg-cat); stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 50% 50%; }
.blg-pill__panel { width: 100%; margin-bottom: 10px; padding: 12px; background: #fff; border: 3px solid #000; border-radius: 3px; --pk-gx: 5px; --pk-gy: 5px; box-shadow: var(--pk-shadow); }
/* a long contents list scrolls inside the panel and never runs above the window */
.blg-pill__panel { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); overflow-y: auto; overscroll-behavior: contain; }
.blg-pill__panel[hidden] { display: none; }
.blg-pill__panel ol { display: flex; flex-direction: column; gap: 6px; }

/* keep reading */
.blg-more { padding-bottom: 0; }
.blg-more__title { margin-bottom: 24px; }
/* four compact cards (gen-keep-reading.mjs): 4 across on wide screens, 2 on tablets, 1 on phones */
.blg-article .blg-more > .pk-wrap { max-width: 1480px; }
.blg-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1199px) { .blg-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .blg-more__grid { grid-template-columns: minmax(0, 1fr); }
  .blg-more__grid > .blg-card:nth-child(n + 4) { display: none; }
}
.blg-more .blg-card { gap: 9px; padding: 11px 11px 16px; }
.blg-more .blg-card .blg-cover { aspect-ratio: 16 / 6; margin-bottom: 4px; }
.blg-more .blg-card .blg-cover__icon { width: clamp(40px, 15%, 54px); padding: 8px; border-width: 2px; }
.blg-more .blg-cover__no { left: 10px; bottom: 7px; font-size: 17px; }
.blg-more .blg-card__chip { font-size: 11.5px; }
.blg-more .blg-card__title { font-size: 17px; line-height: 1.22; }
.blg-more .blg-card__title a { text-underline-offset: 6px; }
.blg-more .blg-card:hover .blg-card__title a, .blg-more .blg-card__title a:focus-visible { text-underline-offset: 2px; }
.blg-more .blg-card__ex { font-size: 14px; line-height: 1.45; -webkit-line-clamp: 2; }
.blg-more .blg-card .blg-meta { font-size: 12.5px; padding-right: 38px; }
.blg-more .blg-card__plus { right: 11px; bottom: 11px; width: 30px; height: 30px; }
.blg-more .blg-card__plus::before, .blg-more .blg-card__plus::after { left: 8px; top: 14px; width: 14px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .blg-desk__stamp-ring { animation: none; }
  .blg-line > span, .blg-mark::before, .blg-mast__badge, .blg-mast__lede, .blg-mast__chips > li, .blg-desk, .blg-dcard, .blg-desk__deck { transition: none !important; }
  .blg-desk__pause, .blg-desk__dots { display: none; }
  .blg-mast.is-live .blg-spark { animation: none; opacity: 1; }
  .blg-squig__line path { transition: none !important; }
  .pk-card--link:hover .blg-cover__pat,
  .pk-card--link:hover .blg-cover__icon,
  .blg-card:hover .blg-card__plus { transform: none; }
}

/* Closing call to action: almost the full window wide and short, with
   the words on the left and the buttons on the right on wide screens. */
.blg-cta.pk-section { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.blg-cta > .pk-wrap { max-width: none; padding-left: 12px; padding-right: 12px; }
@media (max-width: 639px) { .blg-cta > .pk-wrap { padding-left: 8px; padding-right: 8px; } }
.blg-cta__card { padding: clamp(22px, 2.6vw, 40px) clamp(22px, 4vw, 64px); }
.blg-cta__copy { max-width: none; gap: 12px; }
@media (min-width: 1024px) {
  .blg-cta__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; align-items: center; }
  .blg-cta__copy > * { grid-column: 1; justify-self: start; }
  .blg-cta__copy > .pk-btn-row { grid-column: 2; grid-row: 1 / span 6; align-self: center; justify-self: end; flex-wrap: nowrap; margin-right: 72px; }
}

/* Endings kept on one line when no-break spaces would be too wide for the smallest phones:
   .blg-keep always, .blg-keep360 from 360px up. Narrow phones get a little more room in
   callouts and quote boxes so those endings fit at 360px. */
.blg-keep { white-space: nowrap; }
@media (min-width: 360px) { .blg-keep360 { white-space: nowrap; } }
@media (max-width: 374px) {
  .blg-callout { gap: 10px; padding: 16px 14px; }
  .blg-prose blockquote { padding: 14px 14px 14px 16px; }
}
.blg-toc__list a, .blg-pill__panel a { text-wrap: balance; }

/* Bold lead-ins at the start of a list item, paragraph, callout or key takeaway: one colour,
   the same dark shade of the category colour that the section headings use. */
.blg-lead { color: var(--blg-cat-ink, inherit); }

/* Budget tables: the money column in normal weight, one colour per row. */
.blg-table--figs tbody td:nth-child(2), .blg-table--figs tbody td:nth-child(2) strong { font-weight: 400; }
.blg-table--figs tbody tr:nth-child(7n+1) td:nth-child(2) { color: #0369a1; }
.blg-table--figs tbody tr:nth-child(7n+2) td:nth-child(2) { color: #c2410c; }
.blg-table--figs tbody tr:nth-child(7n+3) td:nth-child(2) { color: #047857; }
.blg-table--figs tbody tr:nth-child(7n+4) td:nth-child(2) { color: #be185d; }
.blg-table--figs tbody tr:nth-child(7n+5) td:nth-child(2) { color: #92400e; }
.blg-table--figs tbody tr:nth-child(7n+6) td:nth-child(2) { color: #0f766e; }
.blg-table--figs tbody tr:nth-child(7n+7) td:nth-child(2) { color: #b91c1c; }

/* The same for a table whose money column is the third. */
.blg-table--figs3 tbody td:nth-child(3), .blg-table--figs3 tbody td:nth-child(3) strong { font-weight: 400; }
.blg-table--figs3 tbody tr:nth-child(7n+1) td:nth-child(3) { color: #0369a1; }
.blg-table--figs3 tbody tr:nth-child(7n+2) td:nth-child(3) { color: #c2410c; }
.blg-table--figs3 tbody tr:nth-child(7n+3) td:nth-child(3) { color: #047857; }
.blg-table--figs3 tbody tr:nth-child(7n+4) td:nth-child(3) { color: #be185d; }
.blg-table--figs3 tbody tr:nth-child(7n+5) td:nth-child(3) { color: #92400e; }
.blg-table--figs3 tbody tr:nth-child(7n+6) td:nth-child(3) { color: #0f766e; }
.blg-table--figs3 tbody tr:nth-child(7n+7) td:nth-child(3) { color: #b91c1c; }

/* Four-column tables: a narrower first column that wraps, and slightly smaller text, so the table fits. */
.blg-table--c4 table { font-size: 15px; }
@media (min-width: 640px) { .blg-table--c4 th:first-child, .blg-table--c4 td:first-child { white-space: normal; width: 21%; padding-right: 12px; } }

/* Link tags in Compliance articles: a lighter green, so the black text is easy to read. */
.blg-cat--compliance { --blg-tag: #a9f0d4; }
/* The same for Teaching articles: a lighter purple behind the black text. */
.blg-cat--teaching { --blg-tag: #ddd2fe; }

/* ---------- Suggest a Topic dialog (index CTA) --------------------------- */
.blg-sug {
  width: min(100% - 24px, 520px);
  max-width: none;
  max-height: min(100dvh - 24px, 860px);
  margin: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  color: #000;
}
.blg-sug::backdrop { background: rgb(16 16 20 / .55); backdrop-filter: blur(3px); }
.blg-sug__card {
  position: relative;
  max-height: min(100dvh - 24px, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fffdf6;
  border: 3px solid #000;
  border-radius: 6px;
  --pk-gx: 6px; --pk-gy: 6px; box-shadow: var(--pk-shadow);
}
.blg-sug[open] .blg-sug__card { animation: blg-sug-in 520ms cubic-bezier(.34, 1.4, .64, 1) both; }
.blg-sug[open]::backdrop { animation: blg-sug-fade 260ms ease-out both; }
.blg-sug.is-closing .blg-sug__card { animation: blg-sug-out 220ms ease-in both; }
.blg-sug.is-closing::backdrop { animation: blg-sug-fade 220ms ease-in reverse both; }
@keyframes blg-sug-in { from { opacity: 0; transform: translateY(60px) rotate(-4deg) scale(.92); } }
@keyframes blg-sug-out { to { opacity: 0; transform: translateY(40px) rotate(3deg) scale(.95); } }
@keyframes blg-sug-fade { from { opacity: 0; } }

.blg-sug__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--pk-a1);
  border-bottom: 3px solid #000;
}
.blg-sug__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 4px;
  rotate: -6deg;
  --pk-gx: 3px; --pk-gy: 3px; box-shadow: var(--pk-shadow);
}
.blg-sug__kicker { margin: 0 0 1px; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.blg-sug__title { margin: 0; font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 24px; line-height: 1; }
.blg-sug__x {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  margin-left: auto;
  padding: 0;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
  transition: rotate 300ms var(--pk-ease);
}
.blg-sug__x:hover { rotate: 90deg; }
.blg-sug__x:focus-visible, .blg-sug__pill input:focus-visible + span { outline: 3px solid #000; outline-offset: 3px; }

.blg-sug__form, .blg-sug__done { display: flex; flex-direction: column; gap: 11px; padding: 14px 16px 16px; }
.blg-sug__form[hidden], .blg-sug__done[hidden] { display: none; }
.blg-sug__lede { margin: 0; font-family: "NibPro", Georgia, serif; font-size: 14px; line-height: 1.45; color: var(--pk-ink-soft); }
.blg-sug__cats { margin: 0; padding: 0; border: 0; min-width: 0; }
.blg-sug__label { display: block; margin: 0 0 5px; padding: 0; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 13px; }
.blg-sug__opt { margin-left: 6px; font-weight: 600; font-size: 11px; color: var(--pk-ink-soft); }
.blg-sug__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.blg-sug__pill { position: relative; cursor: pointer; }
.blg-sug__pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.blg-sug__pill span {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 999px;
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  transition: background-color 200ms, transform 200ms var(--pk-ease), box-shadow 200ms;
}
.blg-sug__pill:hover span { transform: translateY(-2px); }
.blg-sug__pill input:checked + span { background: var(--blg-cat, #000); transform: translateY(-1px); box-shadow: 2px 2px 0 #000; }
.blg-sug__pill--any input:checked + span { background: #000; color: #fff; }

.blg-sug__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.blg-sug__field { display: flex; flex-direction: column; min-width: 0; }
.blg-sug__input {
  width: 100%;
  padding: 7px 10px;
  font-family: "AnekBangla", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  background: #fff;
  border: 2px solid #000;
  border-radius: 6px;
  outline: none;
  transition: box-shadow 160ms;
}
.blg-sug__input:focus-visible { box-shadow: 0 0 0 3px var(--pk-a1); }
.blg-sug__input[aria-invalid="true"] { border-color: #c81e1e; box-shadow: 0 0 0 3px #fecaca; }
.blg-sug__area { resize: vertical; min-height: 72px; line-height: 1.4; }
.blg-sug__sub { display: flex; justify-content: space-between; gap: 12px; }
.blg-sug__count { flex: none; margin-top: 3px; font-family: "AnekBangla", system-ui, sans-serif; font-size: 11px; font-weight: 600; color: var(--pk-ink-soft); }
.blg-sug__err { margin: 3px 0 0; min-height: 0; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 12px; color: #b91c1c; }
.blg-sug__err:empty { display: none; }
.blg-sug__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.blg-sug__privacy { margin: 0; font-family: "NibPro", Georgia, serif; font-size: 12px; color: var(--pk-ink-soft); }
.blg-sug__privacy a { color: inherit; text-decoration: underline; }
.blg-sug__status { margin: 0; font-family: "AnekBangla", system-ui, sans-serif; font-weight: 700; font-size: 12.5px; }
.blg-sug__status:empty { display: none; }
.blg-sug__status.is-error { color: #b91c1c; }
.blg-sug__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.blg-sug__actions .pk-btn, .blg-sug__done .pk-btn { padding: 7px 14px; font-size: 13px; }
.blg-sug__send[aria-busy="true"] { opacity: .7; cursor: progress; }

.blg-sug__done { align-items: center; text-align: center; padding: 24px 18px 22px; }
.blg-sug__tick {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: var(--pk-a4);
  border: 3px solid #000;
  border-radius: 50%;
  --pk-gx: 5px; --pk-gy: 5px; box-shadow: var(--pk-shadow);
  animation: blg-pop 600ms cubic-bezier(.34, 1.6, .64, 1) both;
}
.blg-sug__done-title { margin: 0; font-family: "Welfare", "AnekBangla", system-ui, sans-serif; font-size: 26px; line-height: 1; outline: none; }
.blg-sug__done-p { margin: 0; max-width: 40ch; font-family: "NibPro", Georgia, serif; font-size: 14px; line-height: 1.5; color: var(--pk-ink-soft); }

@media (max-width: 559px) {
  .blg-sug__row { grid-template-columns: 1fr; }
  .blg-sug__head { padding: 9px 12px; }
  .blg-sug__form { padding: 12px 12px 14px; }
  .blg-sug__actions .pk-btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .blg-sug[open] .blg-sug__card, .blg-sug[open]::backdrop, .blg-sug.is-closing .blg-sug__card, .blg-sug.is-closing::backdrop, .blg-sug__tick { animation: none; }
}
