/* ── Blog, blog post and Member Library in the dashboard style (.bl-page), built on home-dashboard.css.
   module.css still styles the article text inside .module1-blog-article. ── */
.bl-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.bl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: var(--hd-muted); font-size: 13px; }
.bl-crumbs a { color: #3c3d38; text-decoration: none; }
.bl-crumbs a:hover { color: var(--hd-ink); text-decoration: underline; }
.bl-crumbs b { max-width: 60ch; overflow: hidden; color: var(--hd-ink); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.bl-page .hd-welcome h1 { max-width: 900px; }
.bl-lede { max-width: 640px; margin: 18px 0 0; color: #3c3d38; font-size: 15.5px; line-height: 1.6; }
.bl-count { display: inline-grid; min-width: 30px; height: 30px; margin-right: 6px; padding: 0 8px; place-items: center; border-radius: 999px; background: var(--hd-accent); color: var(--hd-ink); font-weight: 500; }

.bl-page .hd-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bl-back { display: inline-flex; align-items: center; gap: 8px; }
.bl-back svg { width: 15px; height: 15px; }

/* Member Library tools */
.bl-tools { display: grid; justify-items: end; gap: 10px; }

.bl-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 280px;
  height: 46px;
  padding: 0 8px 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--hd-muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(32,33,31,.05);
  transition: box-shadow .15s;
}

.bl-search svg { width: 17px; height: 17px; }
.bl-search span { flex: 1; text-align: left; }
.bl-search kbd { padding: 5px 9px; border-radius: 999px; background: #f2f1ed; color: #3c3d38; font: inherit; font-size: 11.5px; }
.bl-search:hover { box-shadow: 0 0 0 2px var(--hd-accent); }

.bl-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.bl-links a { padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.6); color: var(--hd-ink); font-size: 13px; font-weight: 500; text-decoration: none; transition: background .15s; }
.bl-links a:hover { background: var(--hd-accent); }

/* Cards */
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }

.bl-card {
  display: flex;
  flex-direction: column;
  color: var(--hd-ink);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.bl-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.9); box-shadow: 0 0 0 2px var(--hd-accent), 0 18px 40px rgba(38,43,50,.08); }
.bl-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bl-tag { padding: 6px 13px; border-radius: 999px; background: var(--hd-accent); color: var(--hd-ink); font-size: 12px; font-weight: 500; }
.bl-card .hd-round { width: 40px; height: 40px; }
.bl-card .hd-round svg { width: 16px; height: 16px; }
.bl-card:hover .hd-round { background: #20211f; color: #fff; }
.bl-card h2 { margin: 0 0 10px; color: var(--hd-ink); font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; white-space: normal; }
.bl-card p { margin: 0; color: #3c3d38; font-size: 14px; line-height: 1.6; }
.bl-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; color: var(--hd-muted); font-size: 12.5px; }
.bl-card-meta b { font-weight: 500; color: var(--hd-ink); text-decoration: underline; text-decoration-color: var(--hd-accent-hover); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.bl-empty { display: grid; justify-items: start; gap: 6px; padding: 30px; }
.bl-empty strong { font-size: 18px; font-weight: 500; }
.bl-empty p { margin: 0 0 8px; color: #3c3d38; }

/* Blog post */
.bl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bl-meta span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.7); color: #3c3d38; font-size: 13px; font-weight: 500; }
.bl-meta span.is-accent { background: var(--hd-accent); color: var(--hd-ink); }

.bl-page .module1-panel.bl-article {
  min-height: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background: rgba(255,255,255,.75);
  overflow: hidden;
}

.bl-page .bl-article .learn-content { max-width: 880px; margin: 0 auto; }
.bl-page .bl-article .module1-blog-article a { color: var(--hd-ink); text-decoration-color: var(--hd-accent-hover); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bl-page .bl-article .module1-blog-article blockquote { border-left-color: var(--hd-accent-hover); border-radius: 0 18px 18px 0; }
.bl-page .bl-article .module1-blog-article img { border-radius: 20px; }

/* Post header: a back link, the title and one line of details. */
.bl-post-head { padding: 34px 8px 26px; }
.bl-up { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #3c3d38; font-size: 14px; font-weight: 500; text-decoration: none; }
.bl-up svg { width: 15px; height: 15px; }
.bl-up:hover { color: var(--hd-ink); text-decoration: underline; text-decoration-color: var(--hd-accent-hover); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bl-post-head h1 { max-width: 900px; margin: 0; color: var(--hd-ink); font-size: clamp(32px, 4.2vw, 54px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.bl-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bl-post-head:has(> .bl-hidden) { padding-bottom: 14px; }
.bl-post-head:has(> .bl-hidden) .bl-up { margin-bottom: 0; }
.bl-byline { margin: -6px 0 40px; color: #5d5e58; font-size: 15px; text-align: center; }

/* Article text: darker, larger body text in the site font, black headings with a yellow marker. */
.bl-page .module1-panel.bl-article { padding: clamp(20px, 3vw, 36px); }
.bl-page .bl-article .learn-content { max-width: 760px; }
.bl-page .bl-banner { display: block; width: 100%; height: auto; margin: 0 0 34px; border-radius: 22px; box-shadow: 0 14px 34px rgba(32,33,31,.1); }
.bl-page .bl-article .module1-blog-article p,
.bl-page .bl-article .module1-blog-article li { color: #2b2c29; font-size: 17.5px; line-height: 1.75; }
.bl-page .bl-article .module1-blog-article article > h2:first-child {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  color: var(--hd-ink);
  font-family: inherit;
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.015em;
  white-space: normal;
}
.bl-page .bl-article .module1-blog-article article > h2:first-child + p { color: #3c3d38; font-size: 18px; }
.bl-page .bl-article .module1-blog-article h2 {
  border-top-color: rgba(32,33,31,.1);
  color: var(--hd-ink);
  font-family: inherit;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: normal;
}
.bl-page .bl-article .module1-blog-article h3 {
  position: relative;
  margin: 36px 0 10px;
  padding-left: 18px;
  color: var(--hd-ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.bl-page .bl-article .module1-blog-article h3::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 999px; background: var(--hd-accent); }
.bl-page .bl-article .module1-blog-article hr { margin: 38px 0; background: rgba(32,33,31,.1); }

/* Lists: one soft panel with tick marks instead of a stack of boxes. */
.bl-page .bl-article .module1-blog-article ul,
.bl-page .bl-article .module1-blog-article ol { gap: 0; padding: 10px 24px; border-radius: 20px; background: color-mix(in srgb, var(--hd-accent) 18%, #fff); }
.bl-page .bl-article .module1-blog-article li { padding: 12px 0 12px 34px; border: 0; border-radius: 0; background: none; }
.bl-page .bl-article .module1-blog-article li + li { border-top: 1px solid rgba(32,33,31,.08); }
.bl-page .bl-article .module1-blog-article ul > li::before {
  content: '';
  left: 2px;
  top: 19px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hd-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd653' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: none;
}
.bl-page .bl-article .module1-blog-article ol { counter-reset: bl-step; }
.bl-page .bl-article .module1-blog-article ol > li { counter-increment: bl-step; }
.bl-page .bl-article .module1-blog-article ol > li::before {
  content: counter(bl-step);
  left: 0;
  top: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--hd-ink);
  color: var(--hd-accent);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

/* Gap analysis button and Read next */
.bl-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 4px; padding: 20px 24px; border-radius: 20px; background: var(--hd-ink); color: #fff; text-decoration: none; transition: transform .15s ease; }
.bl-cta:hover { transform: translateY(-2px); }
.bl-cta span { display: grid; gap: 4px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.bl-cta small { color: var(--hd-accent); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.bl-cta svg { flex: 0 0 auto; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--hd-accent); color: var(--hd-ink); }
.bl-next { margin-top: 26px; }
.bl-next h2 { margin: 0 0 14px; color: var(--hd-ink); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.bl-card h3 { margin: 0 0 10px; color: var(--hd-ink); font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.bl-next .bl-card-top { margin-bottom: 16px; }

/* Callouts in the site's colours instead of red. */
.bl-page .bl-article .module1-blog-article blockquote { border-left: 5px solid var(--hd-ink); background: color-mix(in srgb, var(--hd-accent) 18%, #fff); box-shadow: none; }
.bl-page .bl-article .module1-blog-article blockquote p { color: #2b2c29; }
.bl-page .bl-article .module1-blog-article blockquote strong { color: var(--hd-ink); }

@media (max-width: 760px) {
  .bl-page .hd-top { grid-template-columns: minmax(0, 1fr); }
  .bl-crumbs b { max-width: 100%; }
  .bl-page .bl-article .module1-blog-article p,
  .bl-page .bl-article .module1-blog-article li { font-size: 16.5px; }
  .bl-page .bl-article .module1-blog-article ul,
  .bl-page .bl-article .module1-blog-article ol { padding: 6px 16px; }
  .bl-page .bl-banner { margin-bottom: 24px; border-radius: 16px; }
  .bl-cta span { font-size: 16px; }
}

@media (max-width: 760px) {
  .bl-page .hd-top-right { align-items: flex-start; }
  .bl-tools { justify-items: start; }
  .bl-search { width: 100%; }
  .bl-links { justify-content: flex-start; }
  .bl-page .module1-panel.bl-article { border-radius: 24px; }
}

/* Member library page */
.bl-meta-head { margin: 18px 0 0; }
