/* =========================================================
   Blog listing & single article
   Brand: black #0d0d0d, orange #f14f0f, cream #fff7f2
   ========================================================= */
:root {
  --bl-orange: #f14f0f;
  --bl-orange-dark: #d43f03;
  --bl-orange-soft: #ffe9df;
  --bl-black: #0d0d0d;
  --bl-ink: #1a1a1a;
  --bl-body: #3d3d3d;
  --bl-muted: #6b6b6b;
  --bl-line: #ececec;
  --bl-cream: #fff7f2;
  --bl-white: #ffffff;
  --bl-radius: 16px;
  --bl-shadow: 0 6px 30px rgba(0, 0, 0, 0.07);
  --bl-shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.bl-page { background: var(--bl-cream); padding: 0 0 80px; }
:where(.bl-page) section { padding: 0; }
.bl-page a, .bl-hero a { text-decoration: none; }

/* ---------- Hero ---------- */
.bl-hero {
  position: relative;
  overflow: hidden;
  background: var(--bl-black);
  color: #fff;
  padding: 150px 0 64px;
}
.bl-hero::before,
.bl-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bl-hero::before {
  width: 520px; height: 520px;
  right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(241, 79, 15, .45), rgba(241, 79, 15, 0) 70%);
}
.bl-hero::after {
  width: 340px; height: 340px;
  left: -140px; bottom: -200px;
  background: radial-gradient(circle, rgba(241, 79, 15, .22), rgba(241, 79, 15, 0) 70%);
}
.bl-hero .container { position: relative; z-index: 1; }

.bl-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; padding: 0; margin: 0 0 18px;
  font-size: 13px; color: rgba(255, 255, 255, .6);
}
.bl-crumbs a { color: rgba(255, 255, 255, .8); }
.bl-crumbs a:hover { color: var(--bl-orange); }
.bl-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .45; }
.bl-crumbs li[aria-current] { color: rgba(255, 255, 255, .55); max-width: 46ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bl-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bl-orange);
  margin-bottom: 14px;
}
.bl-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }

.bl-hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  max-width: 20ch;
  color: #fff;
}
.bl-hero-lead { font-size: 17px; color: rgba(255, 255, 255, .72); max-width: 56ch; margin: 0; }

.bl-hero-tools { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }

.bl-search {
  position: relative;
  max-width: 520px;
}
.bl-search i {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--bl-muted); font-size: 15px;
}
.bl-search input {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px 0 46px;
  font-size: 15px;
  background: #fff;
  color: var(--bl-ink);
  outline: none;
  box-shadow: 0 0 0 0 rgba(241, 79, 15, 0);
  transition: box-shadow .2s;
}
.bl-search input:focus { box-shadow: 0 0 0 4px rgba(241, 79, 15, .35); }

.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chip {
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: rgba(255, 255, 255, .85);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-transform: capitalize;
  transition: background .2s, color .2s, border-color .2s;
}
.bl-chip:hover { border-color: var(--bl-orange); color: #fff; }
.bl-chip.is-active { background: var(--bl-orange); border-color: var(--bl-orange); color: #fff; }

/* ---------- Article meta (shared) ---------- */
.bl-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-size: 13px; color: var(--bl-muted);
}
.bl-meta i { color: var(--bl-orange); margin-right: 5px; }
.bl-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .4; }

.bl-cat {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bl-orange);
  background: var(--bl-orange-soft);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---------- Listing ---------- */
.bl-list { padding-top: 56px !important; }

.bl-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--bl-shadow);
  margin-bottom: 44px;
  transition: box-shadow .3s, transform .3s;
}
.bl-featured:hover { box-shadow: var(--bl-shadow-lg); transform: translateY(-3px); }
.bl-featured-media { position: relative; min-height: 340px; overflow: hidden; background: #f2f2f2; }
.bl-featured-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.bl-featured:hover .bl-featured-media img { transform: scale(1.04); }
.bl-featured-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--bl-black); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.bl-featured-body { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.bl-featured-body h2 {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
  margin: 16px 0 14px;
}
.bl-featured-body h2 a { color: var(--bl-ink); }
.bl-featured-body h2 a:hover { color: var(--bl-orange); }
.bl-excerpt { color: var(--bl-body); font-size: 15px; line-height: 1.7; margin: 0 0 22px; }

.bl-section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 24px;
}
.bl-section-head h2 { font-size: 24px; font-weight: 800; color: var(--bl-ink); margin: 0; }
.bl-count { font-size: 14px; color: var(--bl-muted); }

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

.bl-card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--bl-radius);
  overflow: hidden;
  box-shadow: var(--bl-shadow);
  transition: box-shadow .3s, transform .3s;
}
.bl-card:hover { box-shadow: var(--bl-shadow-lg); transform: translateY(-5px); }
.bl-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f2f2f2; }
.bl-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bl-card:hover .bl-card-media img { transform: scale(1.06); }
.bl-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.bl-card-body h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 14px 0 10px; }
.bl-card-body h3 a { color: var(--bl-ink); }
.bl-card-body h3 a:hover { color: var(--bl-orange); }
.bl-card-body .bl-excerpt { font-size: 14px; margin-bottom: 18px; }
.bl-card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bl-line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

.bl-author-mini { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bl-avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--bl-orange-soft);
}
.bl-avatar-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bl-orange); font-weight: 700; font-size: 14px;
}
.bl-author-mini span { font-size: 13px; font-weight: 600; color: var(--bl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bl-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--bl-orange);
  white-space: nowrap;
}
.bl-link i { transition: transform .25s; }
.bl-link:hover { color: var(--bl-orange-dark); }
.bl-link:hover i { transform: translateX(4px); }

.bl-empty {
  text-align: center; background: #fff; border-radius: var(--bl-radius);
  padding: 56px 24px; box-shadow: var(--bl-shadow); color: var(--bl-muted);
}
.bl-empty i { font-size: 34px; color: var(--bl-orange); margin-bottom: 14px; display: block; }
.bl-empty h3 { font-size: 20px; color: var(--bl-ink); font-weight: 700; }

/* ---------- CTA band ---------- */
.bl-cta {
  margin-top: 64px;
  background: var(--bl-black);
  color: #fff;
  border-radius: 22px;
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.bl-cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 79, 15, .5), rgba(241, 79, 15, 0) 70%);
}
.bl-cta h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.bl-cta p { margin: 0; color: rgba(255, 255, 255, .7); }
.bl-cta > * { position: relative; z-index: 1; }

.bl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bl-orange); color: #fff;
  border: 0; border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.bl-btn:hover { background: var(--bl-orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(241, 79, 15, .3); }

/* =========================================================
   Single article
   ========================================================= */
.bl-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--bl-orange);
  z-index: 10000;
  transition: width .1s linear;
}

.bl-article-hero { padding-bottom: 150px; }
.bl-article-hero h1 { max-width: 26ch; }
.bl-article-hero .bl-meta { color: rgba(255, 255, 255, .7); margin-top: 22px; font-size: 14px; }
.bl-article-hero .bl-meta a { color: #fff; font-weight: 600; }
.bl-article-hero .bl-meta a:hover { color: var(--bl-orange); }
.bl-article-hero .bl-avatar { width: 40px; height: 40px; border: 2px solid rgba(255, 255, 255, .2); }

.bl-cover {
  margin-top: -110px;
  position: relative; z-index: 2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--bl-shadow-lg);
  background: #f2f2f2;
  aspect-ratio: 21 / 9;
}
.bl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  margin-top: 44px;
  align-items: start;
}

.bl-article {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--bl-shadow);
  padding: 48px 56px;
}

.bl-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.bl-share-label { font-size: 13px; font-weight: 600; color: var(--bl-muted); margin-right: 4px; }
.bl-share a, .bl-share button {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bl-cream); color: var(--bl-ink);
  border: 1px solid var(--bl-line);
  font-size: 15px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.bl-share a:hover, .bl-share button:hover { background: var(--bl-orange); color: #fff; border-color: var(--bl-orange); }
.bl-share button.is-copied { background: #146c43; border-color: #146c43; color: #fff; }

.bl-article-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 32px;
  border-bottom: 1px solid var(--bl-line);
}

/* ---------- Prose (CKEditor content) ---------- */
.bl-prose { color: var(--bl-body); font-size: 17px; line-height: 1.85; overflow-wrap: break-word; }
.bl-prose > *:first-child { margin-top: 0; }
.bl-prose p { margin: 0 0 1.25em; }
.bl-prose h2, .bl-prose h3, .bl-prose h4 {
  color: var(--bl-ink); font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
  scroll-margin-top: 110px;
}
.bl-prose h2 { font-size: 28px; margin: 1.8em 0 .7em; }
.bl-prose h3 { font-size: 22px; margin: 1.6em 0 .6em; }
.bl-prose h4 { font-size: 18px; margin: 1.4em 0 .5em; }
.bl-prose a { color: var(--bl-orange); font-weight: 500; border-bottom: 1px solid rgba(241, 79, 15, .35); }
.bl-prose a:hover { color: var(--bl-orange-dark); border-bottom-color: currentColor; }
.bl-prose strong, .bl-prose b { color: var(--bl-ink); }
.bl-prose ul, .bl-prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.bl-prose li { margin-bottom: .45em; }
.bl-prose ul li::marker { color: var(--bl-orange); }
.bl-prose ol li::marker { color: var(--bl-orange); font-weight: 700; }
.bl-prose img { max-width: 100%; height: auto !important; border-radius: 14px; margin: 1em 0; }
.bl-prose blockquote {
  margin: 1.6em 0; padding: 18px 24px;
  background: var(--bl-cream);
  border-left: 4px solid var(--bl-orange);
  border-radius: 0 12px 12px 0;
  font-size: 18px; color: var(--bl-ink);
}
.bl-prose blockquote p:last-child { margin-bottom: 0; }
.bl-prose hr { border: 0; border-top: 1px solid var(--bl-line); margin: 2.2em 0; opacity: 1; }
.bl-prose iframe { max-width: 100%; border-radius: 14px; }

.bl-table-wrap, .bl-prose .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
  border-radius: 14px;
  border: 1px solid var(--bl-line);
}
.bl-prose table {
  width: 100% !important;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.bl-prose table th {
  background: var(--bl-black); color: #fff;
  font-weight: 600; text-align: left;
  padding: 14px 16px;
}
.bl-prose table td { padding: 13px 16px; border-top: 1px solid var(--bl-line); vertical-align: top; }
.bl-prose table tr:nth-child(even) td { background: #fcfaf8; }
.bl-table-wrap::-webkit-scrollbar { height: 8px; }
.bl-table-wrap::-webkit-scrollbar-thumb { background: var(--bl-orange); border-radius: 20px; }

.bl-disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 36px; padding: 18px 20px;
  background: #fffaeb; border: 1px solid #fde7b0; border-radius: 14px;
  font-size: 14px; line-height: 1.6; color: #7a4a06;
}
.bl-disclaimer i { margin-top: 3px; color: #b54708; }

/* ---------- FAQ ---------- */
.bl-faq { margin-top: 48px; }
.bl-faq h2 { font-size: 26px; font-weight: 800; color: var(--bl-ink); margin-bottom: 20px; }
.bl-faq-item {
  border: 1px solid var(--bl-line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.bl-faq-item[open] { border-color: rgba(241, 79, 15, .45); box-shadow: 0 6px 20px rgba(241, 79, 15, .08); }
.bl-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-weight: 600; font-size: 16px; color: var(--bl-ink);
}
.bl-faq-item summary::-webkit-details-marker { display: none; }
.bl-faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bl-cream); color: var(--bl-orange);
  font-size: 20px; font-weight: 500; line-height: 1;
  transition: transform .25s, background .2s, color .2s;
}
.bl-faq-item[open] summary::after { transform: rotate(45deg); background: var(--bl-orange); color: #fff; }
.bl-faq-answer { padding: 0 22px 20px; color: var(--bl-body); font-size: 15px; line-height: 1.75; }
.bl-faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Author box ---------- */
.bl-author {
  margin-top: 48px;
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--bl-cream);
  border-radius: 18px;
  padding: 28px;
}
.bl-author-img {
  flex: none;
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--bl-orange);
  background: #fff;
}
.bl-author-img img { width: 100%; height: 100%; object-fit: cover; }
.bl-author-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #146c43;
}
.bl-author h3 { font-size: 20px; font-weight: 800; margin: 4px 0 8px; }
.bl-author h3 a { color: var(--bl-ink); }
.bl-author h3 a:hover { color: var(--bl-orange); }
.bl-author-intro { font-size: 15px; line-height: 1.7; color: var(--bl-body); }
.bl-author-intro p:last-child { margin-bottom: 0; }

/* ---------- Comments ---------- */
.bl-comments {
  margin-top: 40px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--bl-shadow);
  padding: 40px 56px;
}
.bl-comments h2 { font-size: 24px; font-weight: 800; color: var(--bl-ink); margin: 0 0 24px; display: flex; align-items: center; gap: 10px; }
.bl-comments h2 .bl-pill {
  font-size: 13px; font-weight: 700; background: var(--bl-orange-soft); color: var(--bl-orange);
  border-radius: 999px; padding: 3px 10px;
}
.bl-comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.bl-comment { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--bl-line); }
.bl-comment:first-child { padding-top: 0; }
.bl-comment:last-child { border-bottom: 0; }
.bl-comment-avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--bl-black); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; text-transform: uppercase;
}
.bl-comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.bl-comment-head strong { color: var(--bl-ink); font-size: 15px; }
.bl-comment-head time { font-size: 12px; color: var(--bl-muted); }
.bl-comment p { margin: 0; color: var(--bl-body); font-size: 15px; line-height: 1.65; white-space: pre-line; }
.bl-no-comments { color: var(--bl-muted); font-size: 15px; margin-bottom: 28px; }

.bl-form { background: var(--bl-cream); border-radius: 16px; padding: 26px; }
.bl-form h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; color: var(--bl-ink); }
.bl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bl-form-grid .bl-full { grid-column: 1 / -1; }
.bl-form label { display: block; font-size: 13px; font-weight: 600; color: var(--bl-ink); margin-bottom: 6px; }
.bl-form input, .bl-form textarea {
  width: 100%;
  border: 1px solid #e3ddd8;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
  color: var(--bl-ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bl-form textarea { resize: vertical; min-height: 130px; }
.bl-form input:focus, .bl-form textarea:focus { border-color: var(--bl-orange); box-shadow: 0 0 0 4px rgba(241, 79, 15, .14); }
.bl-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.bl-form-note { font-size: 12px; color: var(--bl-muted); margin: 0; }
.bl-login-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bl-cream); border-radius: 16px; padding: 22px 24px;
}
.bl-login-prompt p { margin: 0; color: var(--bl-ink); font-weight: 500; }

/* ---------- Sidebar ---------- */
.bl-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.bl-widget { background: #fff; border-radius: 18px; box-shadow: var(--bl-shadow); padding: 24px; }
.bl-widget-title {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bl-muted); margin: 0 0 16px;
}

.bl-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; max-height: 46vh; overflow-y: auto; }
.bl-toc li { counter-increment: toc; }
.bl-toc a {
  display: flex; gap: 10px;
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--bl-line);
  font-size: 14px; line-height: 1.45; color: var(--bl-body);
  transition: color .2s, border-color .2s;
}
.bl-toc a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: #b9b2ac; padding-top: 1px; }
.bl-toc a:hover, .bl-toc a.is-active { color: var(--bl-orange); border-left-color: var(--bl-orange); }
.bl-toc a.is-active::before { color: var(--bl-orange); }

.bl-promo {
  background: var(--bl-black); color: #fff;
  border-radius: 18px; overflow: hidden;
  position: relative;
  padding: 26px 24px;
  text-align: center;
}
.bl-promo::before {
  content: ""; position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 79, 15, .55), rgba(241, 79, 15, 0) 70%);
}
.bl-promo > * { position: relative; }
.bl-promo img { width: 100%; max-width: 220px; height: auto; margin: 0 auto 10px; display: block; }
.bl-promo h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.bl-promo p { font-size: 14px; color: rgba(255, 255, 255, .7); margin: 0 0 18px; }
.bl-promo .bl-btn { width: 100%; justify-content: center; }

.bl-recent { list-style: none; padding: 0; margin: 0; }
.bl-recent li + li { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--bl-line); }
.bl-recent a { display: flex; gap: 12px; align-items: center; }
.bl-recent img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; flex: none; background: #f2f2f2; }
.bl-recent strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--bl-ink);
  transition: color .2s;
}
.bl-recent a:hover strong { color: var(--bl-orange); }
.bl-recent time { display: block; font-size: 12px; color: var(--bl-muted); margin-top: 3px; }

/* ---------- Related ---------- */
.bl-related { margin-top: 72px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .bl-article { padding: 40px; }
  .bl-comments { padding: 36px 40px; }
}
@media (max-width: 991px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-featured { grid-template-columns: 1fr; }
  .bl-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .bl-featured-body { padding: 32px; }
  .bl-layout { grid-template-columns: 1fr; }
  .bl-aside { position: static; }
  .bl-toc-widget { display: none; }
  .bl-cover { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .bl-hero { padding: 120px 0 48px; }
  .bl-article-hero { padding-bottom: 110px; }
  .bl-cover { margin-top: -80px; border-radius: 16px; }
  .bl-grid { grid-template-columns: 1fr; gap: 22px; }
  .bl-article { padding: 26px 20px; border-radius: 18px; }
  .bl-comments { padding: 26px 20px; border-radius: 18px; }
  .bl-prose { font-size: 16px; }
  .bl-prose h2 { font-size: 23px; }
  .bl-prose h3 { font-size: 19px; }
  .bl-author { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
  .bl-form { padding: 20px; }
  .bl-form-grid { grid-template-columns: 1fr; }
  .bl-cta { padding: 32px 24px; }
  .bl-featured-body { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .bl-card, .bl-featured, .bl-card-media img, .bl-featured-media img, .bl-btn { transition: none !important; }
  .bl-card:hover, .bl-featured:hover { transform: none; }
}

/* Filtered-out posts (overrides display:flex/grid on cards) */
.js-post[hidden], .bl-page [hidden] { display: none !important; }

/* =========================================================
   Authors
   ========================================================= */
.au-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.au-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--bl-shadow);
  padding: 34px 28px 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: box-shadow .3s, transform .3s;
}
.au-card:hover { box-shadow: var(--bl-shadow-lg); transform: translateY(-5px); }
.au-avatar {
  width: 116px; height: 116px; border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  outline: 3px solid var(--bl-orange);
  background: var(--bl-orange-soft);
  margin-bottom: 18px;
}
.au-avatar-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 800; color: var(--bl-orange);
}
.au-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #146c43; background: #ecfdf3;
  padding: 5px 11px; border-radius: 999px;
}
.au-card h2 { font-size: 21px; font-weight: 800; margin: 14px 0 8px; }
.au-card h2 a { color: var(--bl-ink); }
.au-card h2 a:hover { color: var(--bl-orange); }
.au-intro {
  font-size: 14px; line-height: 1.65; color: var(--bl-body);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 20px;
}
.au-intro p { margin: 0; }
.au-card-foot {
  margin-top: auto; width: 100%;
  padding-top: 16px; border-top: 1px solid var(--bl-line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; color: var(--bl-muted);
}
.au-card-foot strong { color: var(--bl-ink); }

/* Profile hero */
.au-hero-inner { display: flex; align-items: center; gap: 36px; }
.au-hero .au-avatar { width: 168px; height: 168px; margin: 0; flex: none; border-color: var(--bl-black); }
.au-hero h1 { max-width: none; margin-bottom: 12px; }
.au-hero .au-badge { background: rgba(236, 253, 243, .12); color: #7ee2a8; }
.au-hero-intro {
  color: rgba(255, 255, 255, .75); font-size: 16px; line-height: 1.7; max-width: 62ch;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.au-hero-intro p { margin: 0; display: inline; }
.au-hero-intro p:last-child { margin-bottom: 0; }
.au-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.au-stat {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 10px 18px;
  min-width: 120px;
}
.au-stat strong { display: block; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.2; }
.au-stat span { font-size: 12px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .08em; }

.au-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.au-bio { background: #fff; border-radius: 22px; box-shadow: var(--bl-shadow); padding: 44px 52px; }
.au-bio > h2 { font-size: 26px; font-weight: 800; color: var(--bl-ink); margin: 0 0 20px; }

.au-facts { list-style: none; padding: 0; margin: 0; }
.au-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--bl-body); line-height: 1.5; }
.au-facts li + li { margin-top: 14px; }
.au-facts i {
  flex: none; width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bl-orange-soft); color: var(--bl-orange); font-size: 14px;
}
.au-facts strong { display: block; color: var(--bl-ink); font-size: 14px; }

.au-others { list-style: none; padding: 0; margin: 0; }
.au-others li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bl-line); }
.au-others a { display: flex; align-items: center; gap: 12px; color: var(--bl-ink); font-weight: 600; font-size: 14px; }
.au-others a:hover { color: var(--bl-orange); }
.au-others img, .au-others .bl-avatar { width: 44px; height: 44px; }

@media (max-width: 991px) {
  .au-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .au-grid { grid-template-columns: 1fr; }
  .au-hero-inner { flex-direction: column; text-align: center; gap: 22px; }
  .au-hero .au-avatar { width: 132px; height: 132px; }
  .au-hero .bl-crumbs, .au-stats { justify-content: center; }
  .au-hero-intro { margin: 0 auto; }
  .au-bio { padding: 28px 22px; border-radius: 18px; }
}
