/* ═══════════════════════════════════════════════════════════════
   BLOG STYLES
   Blog home page catalog + individual blog post pages
   ═══════════════════════════════════════════════════════════════ */

/* ═══ BLOG HOME — CATALOG ═══════════════════════════════════════ */
.blog-hero {
  padding: 120px var(--gutter) 48px;
  text-align: center;
  background: var(--off);
}
.blog-hero-h {
  font-family: var(--fh);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.blog-hero-h .hl-yellow { color: var(--yellow); }
.blog-hero-h .hl-blue { color: var(--blue); }
.blog-hero-sub {
  font-family: var(--fb);
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Category Filter ── */
.blog-filter {
  max-width: var(--max-w);
  margin: 0 auto 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--fb);
  font-size: .88rem;
  font-weight: 600;
  color: var(--mid);
  background: transparent;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--r-sm);
  padding: 7px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast),
              border-color var(--dur-fast),
              background var(--dur-fast),
              transform var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast);
}
.blog-filter-btn:hover {
  color: var(--ink);
  border-color: var(--yellow);
}
.blog-filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 2px 12px rgba(27,45,74,.28), inset 0 1px 0 rgba(255,255,255,.06);
}
.blog-filter-btn.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(27,45,74,.38);
  border-color: var(--navy);
}

/* ── Blog Grid ── */
.blog-catalog {
  padding: 0 var(--gutter) 80px;
  background: var(--off);
}

/* ── Featured (horizontal) post ── */
.blog-featured-slot {
  max-width: var(--max-w);
  margin: 0 auto 48px;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast) var(--ease-out-expo);
}
.blog-featured:hover {
  border-color: var(--border-mid);
  box-shadow: 0 2px 6px rgba(56,162,255,.06), 0 14px 36px rgba(27,45,74,.08);
}
.blog-featured-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(250,200,53,.16);
  color: var(--yellow-deep);
  font-family: var(--fb);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
}
.blog-featured-tag {
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: 12px;
}
.blog-featured-title {
  font-family: var(--fh);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.18;
  margin: 0 0 18px;
  transition: color var(--dur-fast);
}
.blog-featured:hover .blog-featured-title { color: var(--navy); }
.blog-featured-excerpt {
  font-family: var(--fb);
  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.55;
  margin: 0 0 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.blog-featured-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-light);
}
.blog-featured-meta svg {
  flex-shrink: 0;
  opacity: .8;
}
.blog-featured-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--off);
  min-height: 320px;
}
.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Grid cards ── */
.blog-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 12px 18px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast) var(--ease-out-expo);
}
.blog-card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 2px 6px rgba(56,162,255,.06), 0 14px 36px rgba(27,45,74,.08);
}
.blog-card-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--off);
  border-radius: var(--r-sm);
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 6px 0;
}
.blog-card-title {
  font-family: var(--fh);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.32;
  margin: 0 0 14px;
  transition: color var(--dur-fast);
}
.blog-card:hover .blog-card-title { color: var(--navy); }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb);
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-light);
}
.blog-card-read svg {
  flex-shrink: 0;
  opacity: .8;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}
.blog-card-time {
  font-family: var(--fb);
  font-size: .85rem;
  color: var(--mid);
  white-space: nowrap;
}
.blog-card-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid #D1D5DB;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  letter-spacing: -.005em;
  white-space: nowrap;
}

/* ═══ BLOG POST — INDIVIDUAL PAGE ═══════════════════════════════ */
.bp-hero {
  padding: 100px var(--gutter) 40px;
  background: var(--off);
}
.bp-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.bp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-light);
  text-decoration: none;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  padding: 8px 16px;
  margin-bottom: 32px;
  transition: background .2s, border-color .2s;
}
.bp-back:hover {
  background: var(--white);
  border-color: rgba(56,162,255,.3);
}
.bp-back svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ── Breadcrumb Navigation ── */
.bp-breadcrumb {
  margin-bottom: 24px;
}
.bp-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bp-breadcrumb-item {
  display: flex;
  align-items: center;
  font-family: var(--fb);
  font-size: .82rem;
}
.bp-breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--ink-light);
  opacity: .5;
}
.bp-breadcrumb-link {
  color: var(--ink-light);
  text-decoration: none;
  transition: color .2s;
}
.bp-breadcrumb-link:hover {
  color: var(--navy);
}
.bp-title {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.bp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--fb);
  font-size: .82rem;
  color: var(--ink-light);
  margin-bottom: 32px;
}
.bp-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-light);
  opacity: .5;
}
.bp-hero-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 400px;
  border-radius: var(--r-md);
  margin: 24px auto 0;
}
@media (max-width: 600px) {
  .bp-hero-img { max-height: 240px; margin-top: 16px; }
}

/* ── Author byline (no date — shows pic, name link, role, read time) ── */
.bp-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.bp-author .bp-author-pic {
  width: 44px;
  height: 44px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  background: var(--off);
  box-shadow: 0 0 0 2px var(--white), 0 2px 6px rgba(27,45,74,.12);
}
.bp-author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}
.bp-author-name {
  font-family: var(--fb);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
a.bp-author-name:hover {
  color: var(--navy);
  text-decoration: underline;
}
.bp-author-role {
  font-family: var(--fb);
  font-size: .8rem;
  color: var(--ink-light);
}

/* ── Blog Post Content Layout ── */
.bp-content {
  padding: 48px var(--gutter) 80px;
  background: var(--off);
}
.bp-layout {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Table of Contents ── */
.bp-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
}
.bp-toc::-webkit-scrollbar { width: 6px; }
.bp-toc::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); border-radius: 3px; }
.bp-toc-title {
  font-family: var(--fh);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.bp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bp-toc-list li {
  margin-bottom: 10px;
}
.bp-toc-list a {
  font-family: var(--fb);
  font-size: .85rem;
  color: var(--ink-light);
  text-decoration: none;
  line-height: 1.45;
  display: block;
  transition: color .2s;
}
.bp-toc-list a:hover,
.bp-toc-list a.active {
  color: var(--navy);
  font-weight: 600;
}

/* ── Article Body ── */
.bp-body h2 {
  font-family: var(--fh);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 48px 0 16px;
  scroll-margin-top: 100px;
}
.bp-body h2:first-child {
  margin-top: 0;
}
.bp-body h3 {
  font-family: var(--fh);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
}
.bp-body p {
  font-family: var(--fb);
  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 18px;
}
.bp-body ul,
.bp-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.bp-body li {
  font-family: var(--fb);
  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 8px;
}
.bp-body strong {
  color: var(--ink);
  font-weight: 600;
}
.blog-table th strong {
  color: #ffffff;
}
.bp-body a {
  color: var(--purple);
  text-decoration: underline;
}
.bp-body blockquote {
  border-left: 3px solid var(--purple);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--purple-pale);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.bp-body blockquote p {
  margin-bottom: 0;
  color: var(--ink);
  font-style: italic;
}

/* ═══ RECOMMENDED SECTION ═══════════════════════════════════════ */
.bp-recommended {
  padding: 64px var(--gutter) 80px;
  background: var(--off);
}
.bp-rec-inner {
  max-width: 780px;
  margin: 0 auto;
}
.bp-rec-h {
  font-family: var(--fh);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 36px;
}
.bp-rec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}
.bp-rec-link {
  font-family: var(--fb);
  font-size: .9rem;
  color: var(--navy);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
  transition: color .2s;
}
.bp-rec-link:hover {
  color: var(--purple);
}

/* ═══ INLINE CTA BLOCK ══════════════════════════════════════════ */
.bp-inline-cta {
  margin: 36px 0;
  background: var(--navy);
  border-radius: 14px;
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,45,74,.2), 0 1px 6px rgba(27,45,74,.1);
}
.bp-inline-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 110% 50%, rgba(56,162,255,.13) 0%, transparent 70%);
  pointer-events: none;
}
.bp-inline-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.bp-inline-cta-text {
  flex: 1;
  min-width: 0;
}
.bp-inline-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(250,200,53,.12);
  border: 1px solid rgba(250,200,53,.28);
  border-radius: 100px;
  padding: 3px 10px;
  font-family: var(--fb);
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--yellow);
  margin-bottom: 8px;
}
.bp-inline-cta-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
/* High specificity to win against .bp-body h3 / .bp-body p descendant rules */
.bp-body .bp-inline-cta-h,
.bp-inline-cta-h {
  font-family: var(--fh);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0 0 6px;
}
.bp-inline-cta-h em {
  color: var(--yellow);
  font-style: normal;
}
.bp-body .bp-inline-cta-sub,
.bp-inline-cta-sub {
  font-family: var(--fb);
  font-size: .85rem;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  margin: 0;
}
.bp-inline-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.bp-inline-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--yellow);
  color: var(--navy) !important;
  font-family: var(--fb);
  font-size: .88rem;
  font-weight: 800;
  padding: 5px 5px 5px 18px;
  border-radius: var(--r-md);
  text-decoration: none !important;
  box-shadow: none;
  transition: transform .22s var(--ease-out-expo);
  white-space: nowrap;
}
.bp-inline-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: none;
}
.bp-inline-cta-btn-arr {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  flex-shrink: 0;
  transition: background var(--dur-fast);
}
.bp-inline-cta-btn-arr svg {
  width: 15px;
  height: 15px;
  stroke: var(--yellow);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.bp-inline-cta-btn-primary:hover .bp-inline-cta-btn-arr { background: #1a2640; }
.bp-inline-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-family: var(--fb);
  font-size: .84rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.22);
  text-decoration: none !important;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.bp-inline-cta-btn-secondary:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ═══ FAQ IN BLOG POSTS ═════════════════════════════════════════ */
/* FAQ items are detected in JS and rendered as .bp-faq-item divs  */
.bp-faq-item {
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--white);
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.bp-faq-q {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.bp-faq-a {
  font-family: var(--fb);
  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ═══ BLOG TABLE ════════════════════════════════════════════════ */
.blog-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--fb);
  font-size: .9rem;
}
.blog-table th,
.blog-table td {
  border: 1px solid var(--border-mid);
  padding: 10px 14px;
  text-align: left;
  line-height: 1.5;
}
.blog-table th,
.bp-body .blog-table th {
  background: var(--navy);
  color: #ffffff !important;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.blog-table tbody tr:nth-child(odd) {
  background: var(--white);
}
.blog-table tbody tr:nth-child(even) {
  background: var(--off);
}
.blog-table td {
  color: var(--ink-light);
}

/* ═══ RESPONSIVE ════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-body {
    padding: 36px 32px 16px;
    order: 2;
  }
  .blog-featured-img-wrap {
    min-height: 0;
    aspect-ratio: 1200 / 630;
    margin: 0 24px 24px;
    order: 1;
  }
  .bp-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bp-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
}
/* ═══ BLOG POST — bp-* CONTENT CLASSES ══════════════════════════ */
.bp-table {
  width: 100%;
  border-collapse: collapse;
}
.bp-table th, .bp-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.bp-body {
  max-width: 720px;
  min-width: 0;
}

/* TOC inner styling */
.bp-toc-list { list-style: none; padding: 0; margin: 0; }
.bp-toc-list li { margin-bottom: 10px; }
.bp-toc-list .bp-toc-h3 { padding-left: 14px; }
.bp-toc-list a {
  font-family: var(--fb);
  font-size: .85rem;
  color: var(--ink-light);
  text-decoration: none;
  line-height: 1.45;
  display: block;
  transition: color .2s;
}
.bp-toc-list a:hover { color: var(--navy); }

/* Blog card excerpt for index page cards */
.blog-card-excerpt {
  font-family: var(--fb);
  font-size: .88rem;
  color: var(--ink-light);
  line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 600px) {
  .bp-inline-cta { padding: 20px 18px; }
  .bp-inline-cta-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bp-inline-cta-sub { margin-bottom: 0; }
  .bp-inline-cta-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .bp-inline-cta-btn-primary,
  .bp-inline-cta-btn-secondary { justify-content: center; }
  .blog-filter {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .blog-filter-btn {
    font-size: .75rem;
    padding: 6px 14px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blog-featured-body {
    padding: 28px 24px 12px;
  }
  .blog-featured-img-wrap {
    margin: 0 16px 16px;
  }
  .blog-featured-title {
    font-size: 1.3rem;
  }
  .blog-featured-excerpt {
    font-size: .92rem;
  }
  .bp-rec-grid {
    grid-template-columns: 1fr;
  }
  .bp-title {
    font-size: 1.5rem;
  }
}

/* ── Mobile readability: tighten gutters, wrap long words, contain overflow ── */
@media (max-width: 768px) {
  .blog-hero { padding: 96px var(--gutter-sm) 32px; }
  .blog-catalog { padding: 0 var(--gutter-sm) 56px; }
  .bp-hero { padding: 88px var(--gutter-sm) 28px; }
  .bp-content { padding: 32px var(--gutter-sm) 56px; }
  .bp-recommended { padding: 48px var(--gutter-sm) 56px; }
  .bp-layout { gap: 24px; }
  .bp-back { margin-bottom: 24px; }
  .bp-meta { gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

  .bp-body { max-width: 100%; min-width: 0; }
  .bp-body h2 { font-size: 1.3rem; margin: 36px 0 14px; line-height: 1.3; }
  .bp-body h3 { font-size: 1.05rem; margin: 24px 0 10px; }
  .bp-body p,
  .bp-body li { font-size: .95rem; line-height: 1.7; overflow-wrap: anywhere; word-break: break-word; }
  .bp-body a { overflow-wrap: anywhere; word-break: break-word; }
  .bp-body ul,
  .bp-body ol { padding-left: 20px; }
  .bp-body img { height: auto; border-radius: var(--r-sm); }
  .bp-body pre,
  .bp-body code { white-space: pre-wrap; word-break: break-word; }

  /* Inline CTA: extra breathing room from surrounding paragraphs */
  .bp-inline-cta { margin: 28px 0; padding: 18px 16px; }
  .bp-inline-cta-h { font-size: 1rem; }
  .bp-inline-cta-sub { font-size: .82rem; }

  /* FAQ items: tighter padding, wrap long answers */
  .bp-faq-item { padding: 14px 16px; }
  .bp-faq-q { font-size: .95rem; }
  .bp-faq-a { font-size: .9rem; overflow-wrap: anywhere; }

  /* TOC list — readable when stacked above content */
  .bp-toc-title { font-size: .9rem; margin-bottom: 12px; }
  .bp-toc-list a { font-size: .82rem; }
}
