/* Blog index (v2/blog.html) and posts (v2/blog/*.html). Markup: tools/blog.py */
.bl { --ink: #242426; --sub: #5d5d63; --mute: #68686f; --line: #ececf1; --soft: #f6f5fa; --lav: #efe9ff; --deep: #5b2fd6; --dark: #1c1b22; color: var(--ink); }
.tp-page main.bl { padding-bottom: 72px; }
.bl h1, .bl h2, .bl h3 { color: var(--ink); }
.bl-eyebrow { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.bl-tag { display: inline-flex; align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--lav); font-size: 12.5px; font-weight: 500; color: var(--deep); }
.bl-new { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--dark); font-size: 12px; font-weight: 600; color: #fff; }
.bl-meta { font-size: 13.5px; color: var(--mute); }

/* ---------------------------------------------------------------- index hero + featured */
.bl-hero { padding: 140px 0 0; background: radial-gradient(55% 80% at 90% 0%, rgba(184, 155, 255, 0.3), rgba(184, 155, 255, 0) 60%), linear-gradient(180deg, #f8f6fe 0%, #fff 70%); }
.bl-hero h1 { max-width: 16ch; margin: 16px 0 0; font-family: var(--display); font-size: clamp(42px, 5.4vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.bl-lede { max-width: 58ch; margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: var(--sub); }
.bl-feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-top: 52px; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -46px rgba(60, 30, 140, 0.5); transition: box-shadow 0.3s ease; }
.bl-feat:hover { box-shadow: 0 0 0 1px rgba(125, 64, 255, 0.3), 0 40px 70px -40px rgba(60, 30, 140, 0.55); }
.bl-feat__media { display: block; overflow: hidden; background: var(--soft); }
.bl-feat__media { align-self: center; }
.bl-feat__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s var(--ease); }
.bl-feat:hover .bl-feat__media img { transform: scale(1.03); }
.bl-feat__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 3.4vw, 48px); }
.bl-feat__tags { display: flex; gap: 8px; }
.bl-feat__title { font-family: var(--display); font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); }
.bl-feat__ex { font-size: 16px; line-height: 1.55; color: var(--sub); }
.bl-feat__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--brand); }
.bl-feat__go svg, .bl-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.bl-feat:hover .bl-feat__go svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- index list */
.bl-list { padding: 72px 0 0; }
.bl-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--soft); font: inherit; font-size: 14px; font-weight: 500; color: #4a4a50; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.bl-chip em { font-style: normal; font-size: 12px; color: var(--mute); }
.bl-chip:hover { background: #efedf5; }
.bl-chip.is-on { background: var(--dark); color: #fff; }
.bl-chip.is-on em { color: rgba(255, 255, 255, 0.6); }
.bl-sort { flex: none; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--mute); }
.bl-sort select { -webkit-appearance: none; appearance: none; height: 38px; padding: 0 38px 0 14px; border: 0; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 15px no-repeat; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.bl-count { margin: 22px 0 0; font-size: 13.5px; color: var(--mute); }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.bl-card { display: flex; flex-direction: column; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.3s ease, transform 0.3s var(--ease); }
.bl-card[hidden] { display: none; }
.bl-card:hover { box-shadow: 0 0 0 1px rgba(125, 64, 255, 0.3), 0 30px 50px -36px rgba(60, 30, 140, 0.5); transform: translateY(-3px); }
.bl-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.bl-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bl-card:hover .bl-card__media img { transform: scale(1.04); }
.bl-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.bl-card__title { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.bl-card__ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.55; color: var(--sub); }
.bl-card .bl-meta { margin-top: auto; padding-top: 4px; }
.bl-more { margin: 40px 0 0; text-align: center; }
.bl-more[hidden] { display: none; }

/* ---------------------------------------------------------------- post */
.bl-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.bl-progress i { display: block; width: 0; height: 100%; background: var(--brand); }
.bl-phero { padding: 132px 0 0; background: radial-gradient(55% 80% at 90% 0%, rgba(184, 155, 255, 0.28), rgba(184, 155, 255, 0) 60%), linear-gradient(180deg, #f8f6fe 0%, #fff 80%); }
.bl-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--brand); }
.bl-back:hover svg { transform: translateX(-3px); }
.bl-phero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 28px; }
.bl-phero__copy { display: flex; flex-direction: column; }
.bl-phero h1 { margin: 18px 0 0; font-family: var(--display); font-size: clamp(36px, 4vw, 56px); font-weight: 400; line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
.bl-phero__ex { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: var(--sub); }
.bl-phero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; font-size: 14px; color: var(--mute); }
.bl-phero__meta { gap: 8px 0; }
.bl-phero__meta span { display: inline-flex; align-items: center; }
.bl-phero__meta span + span::before { content: ""; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: #c9c9cf; }
@media (max-width: 760px) { .bl-phero__meta { flex-direction: column; } .bl-phero__meta span + span::before { display: none; } }
.bl-phero__meta b { font-weight: 600; color: var(--ink); }
.bl-phero__media { margin: 0; border-radius: 24px; overflow: hidden; background: var(--soft); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -46px rgba(60, 30, 140, 0.5); }
.bl-phero__media img { display: block; width: 100%; height: auto; }

.bl-pbody { padding: 64px 0 0; }
.bl-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; gap: 64px; align-items: start; }
.bl-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.bl-toc p, .bl-share p, .bl-take > p { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.bl-toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.bl-toc a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: #5a5a60; transition: color 0.2s ease, border-color 0.2s ease; }
.bl-toc a:hover { color: var(--ink); }
.bl-toc a.is-on { border-left-color: var(--brand); color: var(--ink); font-weight: 500; }
.bl-share span { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-share button { height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--soft); font: inherit; font-size: 13px; font-weight: 600; color: #4a4a50; cursor: pointer; }
.bl-share button:hover { background: var(--lav); color: var(--deep); }
.bl-main { min-width: 0; }
.bl-take { margin-bottom: 36px; padding: 22px 24px; border-radius: 20px; background: #f7f3ff; box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.15); }
.bl-take > p { color: var(--deep); }
.bl-take ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bl-take li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.55; color: #3d2f6e; }
.bl-take li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 9px no-repeat; }

/* the article */
.bl-article { font-size: 17.5px; line-height: 1.75; color: #45454b; }
.bl-article > :first-child { margin-top: 0; }
.bl-article p { margin: 18px 0 0; }
.bl-article p:empty { display: none; }
.bl-article strong { font-weight: 600; color: var(--ink); }
.bl-article a { color: var(--brand); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(125, 64, 255, 0.35); text-underline-offset: 3px; }
.bl-article a:hover { text-decoration-color: currentColor; }
.bl-article h2 { margin: 56px 0 0; font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); font-weight: 400 !important; line-height: 1.18; letter-spacing: -0.035em !important; scroll-margin-top: 110px; }
.bl-article h3 { margin: 36px 0 0; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.bl-article h4, .bl-article h6 { margin: 28px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.bl-article ul, .bl-article ol { margin: 16px 0 0; padding-left: 0; list-style: none; }
.bl-article li { position: relative; padding-left: 28px; }
.bl-article li + li { margin-top: 8px; }
.bl-article ul > li::before { content: ""; position: absolute; left: 8px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.bl-article ol { counter-reset: bl; }
.bl-article ol > li { counter-increment: bl; }
.bl-article ol > li::before { content: counter(bl) "."; position: absolute; left: 0; font-weight: 600; color: var(--deep); }
.bl-article li > p { margin: 0; }
.bl-article img { display: block; max-width: 100%; height: auto; margin: 28px auto 0; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.bl-article figure { margin: 28px 0 0; }
.bl-article figure img { margin-top: 0; }
.bl-article figure.table, .bl-article figure:has(table) { overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.bl-article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.bl-article th, .bl-article td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.bl-article tr:first-child > * { border-top: 0; }
.bl-article th, .bl-article tr:first-child td { background: var(--soft); font-weight: 600; color: var(--ink); }
.bl-article td p, .bl-article th p { margin: 0; }
/* the in-article install note */
.bl-article .blog-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 40px 0 0; padding: 22px 24px; border-radius: 20px; background: radial-gradient(120% 120% at 100% 0%, rgba(125, 64, 255, 0.5), rgba(125, 64, 255, 0) 60%), var(--dark); }
.bl-article .blog-inline-cta__eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #c9b6ff; }
.bl-article .blog-inline-cta__text { margin: 6px 0 0; font-size: 16.5px; line-height: 1.45; color: #fff; }
.bl-article .blog-inline-cta__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 13px; background: var(--brand); color: #fff; font-size: 15px; text-decoration: none; }
.bl-article .blog-inline-cta__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* faqs + ask */
.bl-faqs { margin-top: 64px; }
.bl-faqs h2 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); font-weight: 400; letter-spacing: -0.035em; }
.bl-faq { border-top: 1px solid var(--line); }
.bl-faq:last-of-type { border-bottom: 1px solid var(--line); }
.bl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; list-style: none; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; }
.bl-faq summary::-webkit-details-marker { display: none; }
.bl-faq summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); }
.bl-faq summary i::before, .bl-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--deep); transition: transform 0.3s ease; }
.bl-faq summary i::after { transform: rotate(90deg); }
.bl-faq[open] summary i::after { transform: none; }
.bl-faq__a { padding: 0 0 20px; font-size: 16px; line-height: 1.7; color: var(--sub); }
.bl-faq__a p { margin: 0 0 10px; }
.bl-ask { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 26px 28px; border-radius: 22px; background: var(--soft); }
.bl-ask p:last-child { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--sub); }
.bl-ask .btn { flex: none; }

/* related */
.bl-rel { padding: 96px 0 0; }
.bl-rel h2 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(30px, 3vw, 42px); font-weight: 400; letter-spacing: -0.04em; }
.bl-grid--3 { margin-top: 28px; }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1100px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bl-side { display: none; }
  .bl-bar { flex-direction: column; }
}
@media (max-width: 900px) {
  .bl-feat, .bl-phero__in { grid-template-columns: minmax(0, 1fr); }
  .bl-phero__in { gap: 32px; }
}
@media (max-width: 760px) {
  .bl-hero, .bl-phero { padding-top: 108px; }
  .bl-lede, .bl-phero__ex { font-size: 16.5px; }
  .bl-feat { margin-top: 36px; border-radius: 22px; }
  .bl-list { padding-top: 52px; }
  .bl-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
  .bl-chip { flex: none; }
  .bl-grid { grid-template-columns: minmax(0, 1fr); }
  .bl-article { font-size: 16.5px; }
  .bl-article .blog-inline-cta, .bl-ask { flex-direction: column; align-items: flex-start; }
  .bl-rel { padding-top: 64px; }
}
/* phones: the topic chips scroll inside the page width instead of widening it */
@media (max-width: 760px) { .bl-bar > .bl-chips { align-self: stretch; min-width: 0; } }
/* tablets and small laptops (contents list hidden): the article keeps its reading width instead of running ~140 characters a line */
@media (min-width: 761px) and (max-width: 1100px) { .bl-layout { grid-template-columns: minmax(0, 760px); justify-content: start; } }

/* ===================================================================== redesign
   blog index and posts in the site's own look: a dark rounded hero card (like the other inner
   pages), the featured article / cover inside it, a sticky filter bar, calmer cards and a
   cleaner reading column. */
.bl .bl-eyebrow { font-size: 13px; letter-spacing: 0; text-transform: none; }

/* ---------- index hero ---------- */
.bl .bl-hero { position: relative; isolation: isolate; margin: 86px 30px 0; padding: 72px 0 72px; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(50% 75% at 85% 20%, rgba(125, 64, 255, 0.42), rgba(125, 64, 255, 0) 65%), radial-gradient(45% 60% at 5% 115%, rgba(125, 64, 255, 0.22), rgba(125, 64, 255, 0) 70%), #111312; }
.bl .bl-hero::before, .bl .bl-phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px) 0 0 / 24px 24px; -webkit-mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); }
.bl-hero__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 56px; }
.bl .bl-hero .bl-eyebrow, .bl .bl-phero .bl-eyebrow { color: #c9b6ff; }
.bl .bl-hero h1 { max-width: 13ch; margin-top: 16px; color: #fff; }
.bl .bl-hero .bl-lede { color: rgba(255, 255, 255, 0.66); }
.bl-hero__n { margin: 26px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.55); }
.bl-hero__n b { font-weight: 600; color: #fff; }
.bl .bl-hero .bl-feat { grid-template-columns: minmax(0, 1fr); margin: 0; border-radius: 22px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9); }
.bl .bl-hero .bl-feat__media img { aspect-ratio: 2 / 1; }
.bl .bl-hero .bl-feat__body { gap: 10px; padding: 24px 26px 26px; }
.bl .bl-hero .bl-feat__title { font-size: clamp(22px, 2vw, 28px); }
.bl .bl-hero .bl-feat__ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }

/* ---------- index list: sticky filter bar ---------- */
.bl .bl-list { padding-top: 100px; }
.bl .bl-bar { position: sticky; top: 92px; z-index: 6; align-items: center; padding: 8px 8px 8px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(30, 20, 70, 0.4); backdrop-filter: blur(12px); transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
body:has(.hd.is-hide) .bl .bl-bar { top: 14px; }
.bl .bl-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.bl .bl-chips::-webkit-scrollbar { display: none; }
.bl .bl-chip { flex: none; background: transparent; }
.bl .bl-chip:hover { background: var(--soft); }
.bl .bl-chip.is-on { background: var(--dark); }
.bl .bl-sort select { background-color: var(--soft); }
.bl .bl-count { margin-top: 18px; }
.bl .bl-grid { gap: 20px; }
.bl .bl-card { border-radius: 20px; }
.bl .bl-card__media { margin: 8px 8px 0; border-radius: 14px; }
.bl .bl-card__body { padding: 18px 20px 22px; }
.bl .bl-card__title { font-size: 18px; }
.bl .bl-tag { background: var(--lav); }

/* ---------- post hero ---------- */
.bl .bl-phero { position: relative; isolation: isolate; margin: 86px 30px 0; padding: 40px 0 64px; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(50% 75% at 85% 20%, rgba(125, 64, 255, 0.42), rgba(125, 64, 255, 0) 65%), radial-gradient(45% 60% at 5% 115%, rgba(125, 64, 255, 0.22), rgba(125, 64, 255, 0) 70%), #111312; }
.bl-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.bl-crumb a { color: rgba(255, 255, 255, 0.72); text-decoration: none; } .bl-crumb a:hover { color: #fff; }
.bl-crumb b { font-weight: 500; color: #c9b6ff; }
.bl .bl-phero__in { margin-top: 36px; gap: 56px; }
.bl .bl-phero .bl-tag { background: rgba(255, 255, 255, 0.1); color: #d9caff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.bl .bl-phero h1 { color: #fff; }
.bl .bl-phero__ex { color: rgba(255, 255, 255, 0.66); }
.bl .bl-phero__meta { color: rgba(255, 255, 255, 0.55); }
.bl .bl-phero__meta b { color: #fff; }
.bl .bl-phero__meta span + span::before { background: rgba(255, 255, 255, 0.3); }
.bl .bl-phero__media { padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 90px -40px rgba(0, 0, 0, 0.9); }
.bl .bl-phero__media img { border-radius: 17px; }

/* ---------- post body ---------- */
.bl .bl-pbody { padding-top: 88px; }
.bl .bl-toc p, .bl .bl-share p, .bl .bl-take > p { font-size: 13px; letter-spacing: 0; text-transform: none; }
.bl .bl-side { padding: 18px; border-radius: 20px; background: var(--soft); }
.bl .bl-toc ol { max-height: calc(100vh - 300px); overflow-y: auto; scrollbar-width: thin; }
.bl .bl-toc a { font-size: 13.5px; }
.bl .bl-share button { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bl .bl-take { border-radius: 22px; padding: 24px 26px; }
.bl .bl-article { color: #45454b; }
.bl .bl-article h2 { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.bl .bl-article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bl .bl-article h3 { margin-top: 40px; }
.bl .bl-article blockquote { margin: 28px 0 0; padding: 22px 26px; border-radius: 18px; background: #f7f3ff; font-size: 18px; line-height: 1.6; color: #3d2f6e; }
.bl .bl-article blockquote p { margin: 0; }
.bl .bl-article img { border-radius: 16px; }
.bl .bl-ask { background: radial-gradient(90% 120% at 100% 0%, rgba(125, 64, 255, 0.5), rgba(125, 64, 255, 0) 65%), var(--dark); }
.bl .bl-ask .bl-eyebrow { color: #c9b6ff; }
.bl .bl-ask p:last-child { color: rgba(255, 255, 255, 0.72); }

/* ---------- related ---------- */
.bl .bl-rel { padding-top: 100px; }
.bl-rel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bl-rel__all { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--soft); font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.bl-rel__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-rel__all:hover { background: var(--lav); color: var(--brand); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .bl-hero__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bl .bl-hero .bl-feat { max-width: 640px; }
  .bl .bl-pbody { padding-top: 72px; }
}
@media (min-width: 761px) and (max-width: 1100px) { .bl .bl-list { padding-top: 88px; } .bl .bl-rel { padding-top: 88px; } }
@media (max-width: 900px) { .bl .bl-phero__in { gap: 32px; } }
@media (max-width: 760px) {
  .bl .bl-hero { margin: 78px 12px 0; padding: 40px 0 44px; border-radius: 22px; }
  .bl .bl-hero .bl-feat__media img { aspect-ratio: 16 / 9; }
  .bl .bl-phero { margin: 78px 12px 0; padding: 28px 0 40px; border-radius: 22px; }
  .bl .bl-list, .bl .bl-rel { padding-top: 72px; }
  .bl .bl-pbody { padding-top: 56px; }
  .bl .bl-bar { position: static; flex-direction: column; align-items: stretch; padding: 8px; }
  .bl .bl-sort { justify-content: space-between; padding: 0 6px; }
  .bl .bl-chips { margin: 0; padding: 0; }
  .bl-rel__head { flex-direction: column; align-items: flex-start; }
}
.bl .bl-chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 32px; }
.bl .bl-sort { padding-left: 12px; border-left: 1px solid var(--line); }
@media (max-width: 760px) { .bl .bl-sort { border-left: 0; padding-left: 6px; } }
@media (max-width: 1100px) { .bl .bl-bar { align-items: stretch; } .bl .bl-sort { align-self: flex-end; } }
