/* Editorial layer; shared navigation, footer and button tokens stay in serviti.css. */
.blog-page { background: #fff; color: #18243b; }
.blog-page [hidden] { display: none !important; }
.blog-page a:focus-visible, .blog-page button:focus-visible, .blog-page input:focus-visible, .blog-page summary:focus-visible { outline: 3px solid #2563eb; outline-offset: 5px; }
.blog-skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: #fff; padding: 14px 24px; border: 2px solid #2563eb; }
.blog-skip:focus { top: 12px; }
.blog-intro { padding-top: 72px; padding-bottom: 52px; position: relative; }
.blog-intro::before { content: ''; position: absolute; inset: 24px -20px 0; z-index: -1; background: radial-gradient(ellipse at 80% 15%, #ede9fe 0, transparent 56%), radial-gradient(ellipse at 0 100%, #eff6ff 0, transparent 65%); border-radius: 32px; }
.blog-eyebrow { color: #5b39a8; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.blog-intro h1 { font-size: clamp(36px, 4.5vw, 62px); line-height: 1.12; letter-spacing: -.045em; max-width: 930px; font-weight: 800; }
.blog-intro h1 span { color: #6342b5; }
.blog-lede { color: #536078; font-size: 18px; line-height: 1.7; max-width: 780px; margin-top: 24px; }
.blog-intro-note { display: flex; gap: 10px; align-items: center; color: #586278; font-size: 13px; margin-top: 30px; }
.blog-intro-note span { color: #8154d3; font-size: 20px; }
.blog-library { padding-top: 34px; padding-bottom: 24px; }
.blog-library-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.blog-library-heading h2 { font-size: 24px; letter-spacing: -.035em; }
.blog-library-heading p { color: #64748b; font-size: 13px; }
.blog-tools { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-filters button { border: 1px solid #dce1ec; background: #fff; border-radius: 100px; padding: 11px 17px; min-height: 44px; font-size: 13px; font-weight: 600; cursor: pointer; }
.blog-filters button[aria-pressed="true"] { color: #fff; background: #56369a; border-color: #56369a; }
.blog-filters button:hover { border-color: #7952bf; }
.blog-search { min-width: 250px; }
.blog-search label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: #59657b; }
.blog-search input { width: 100%; padding: 11px 14px; border: 1px solid #dce1ec; border-radius: 10px; background: #fafbff; min-height: 44px; }
.blog-result-count { margin: 20px 0 16px; color: #64748b; font-size: 13px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { border: 1px solid #e3e6ed; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 3px 12px #26304d05; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #26304d12; }
.blog-card-link { display: flex; flex-direction: column; height: 100%; }
.blog-card-image { background: #161026; aspect-ratio: 1200 / 630; overflow: hidden; }
.blog-card-image img { width: 100%; height: auto; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-category { font-size: 11px; font-weight: 700; color: #6743a7; background: #f3edff; border-radius: 5px; padding: 5px 8px; align-self: start; }
.blog-card[data-audience="Real estate"] .blog-category { background: #e8f5f2; color: #146455; }
.blog-card[data-audience="Schools & clinics"] .blog-category { background: #fff2e4; color: #97570e; }
.blog-card h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.025em; margin: 15px 0 12px; }
.blog-card-body > p { font-size: 14px; line-height: 1.7; color: #5c687d; margin-bottom: 24px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid #edf0f5; color: #64748b; font-size: 11px; }
.blog-card-meta > span:last-child { font-size: 22px; color: #6543a9; }
.blog-empty { padding: 40px 24px; background: #faf8ff; border-radius: 16px; }
.blog-cta { background: #f2effb; border: 1px solid #e5dcf8; border-radius: 24px; padding: 38px; margin: 52px 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.blog-cta h2 { font-size: clamp(23px, 3vw, 31px); line-height: 1.25; max-width: 540px; letter-spacing: -.03em; }
.blog-cta p:not(.blog-eyebrow) { font-size: 15px; line-height: 1.7; margin-top: 14px; color: #59657b; }
.blog-cta .blog-eyebrow { margin-bottom: 10px; }
.blog-cta-actions { flex-shrink: 0; display: flex; align-items: center; flex-direction: column; gap: 18px; }
.blog-cta-actions > a:last-child { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.blog-machine-link { font-size: 12px; color: #64748b; margin-bottom: 52px; }
.blog-machine-link a { text-decoration: underline; }
.blog-article-shell { padding-top: 32px; padding-bottom: 28px; }
.blog-breadcrumb { font-size: 13px; color: #64748b; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.blog-breadcrumb a { color: #5b39a8; font-weight: 600; }
.blog-article-header { max-width: 900px; margin: 0 auto 32px; text-align: center; }
.blog-article-header h1 { font-size: clamp(31px, 4.2vw, 52px); line-height: 1.15; letter-spacing: -.035em; }
.blog-article-header .blog-lede { margin: 22px auto 0; }
.blog-byline { display: flex; justify-content: center; gap: 12px; font-size: 13px; color: #64748b; margin-top: 25px; }
.blog-hero-image { max-width: 890px; margin: 0 auto 48px; }
.blog-hero-image img { border-radius: 20px; width: 100%; height: auto; }
.blog-hero-image figcaption { font-size: 11px; color: #64748b; margin-top: 10px; text-align: center; }
.blog-reading-layout { display: grid; grid-template-columns: 230px minmax(0, 710px); justify-content: center; align-items: start; gap: 60px; }
.blog-toc { position: sticky; top: 104px; padding: 18px; border: 1px solid #e6e8f0; border-radius: 14px; background: #fafbfe; font-size: 13px; }
.blog-toc summary { font-weight: 700; cursor: pointer; padding: 6px 0; }
.blog-toc ol { list-style: none; padding: 0; margin-top: 12px; }
.blog-toc a { display: block; padding: 9px 0; color: #63708a; line-height: 1.5; }
.blog-toc a:hover { color: #5b39a8; text-decoration: underline; }
.blog-prose { font-size: 17px; line-height: 1.85; color: #35425a; overflow-wrap: anywhere; }
.blog-prose > p { margin-bottom: 22px; }
.blog-prose h2 { font-size: 25px; line-height: 1.35; color: #19253b; margin: 38px 0 18px; letter-spacing: -.025em; scroll-margin-top: 104px; }
.blog-prose a { color: #56369a; text-decoration: underline; text-underline-offset: 3px; }
.blog-prose strong { color: #1c2b43; font-weight: 700; }
.blog-prose ul, .blog-prose ol { margin: 20px 0 26px; padding-left: 24px; }
.blog-prose ul { list-style: disc; }
.blog-prose li { padding-left: 5px; margin: 9px 0; }
.blog-article-end { border-top: 1px solid #e4e8f0; margin-top: 36px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.blog-related { margin-top: 65px; padding-top: 42px; border-top: 1px solid #e5e8ef; }
.blog-related > h2 { font-size: 28px; margin-bottom: 25px; }
.blog-related .blog-eyebrow { margin-bottom: 12px; }
@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .blog-reading-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; }
  .blog-cta { padding: 30px; flex-direction: column; align-items: start; }
  .blog-cta-actions { align-items: start; }
}
@media (max-width: 600px) {
  .blog-intro { padding-top: 38px; padding-bottom: 34px; }
  .blog-intro::before { inset: 14px 0 0; }
  .blog-intro h1 { font-size: 36px; }
  .blog-lede { font-size: 16px; margin-top: 18px; }
  .blog-intro-note { font-size: 12px; align-items: start; margin-top: 20px; }
  .blog-desktop-break { display: none; }
  .blog-library-heading h2 { font-size: 21px; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-search { width: 100%; min-width: 0; }
  .blog-filters { gap: 7px; }
  .blog-filters button { font-size: 12px; padding: 10px 13px; }
  .blog-card-body { padding: 22px; }
  .blog-article-header { text-align: left; }
  .blog-article-header h1 { font-size: 32px; }
  .blog-byline { justify-content: start; }
  .blog-breadcrumb { margin-bottom: 28px; }
  .blog-reading-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .blog-toc { position: static; }
  .blog-hero-image { margin-bottom: 28px; }
  .blog-hero-image img { border-radius: 12px; }
  .blog-prose { font-size: 16px; }
  .blog-prose h2 { font-size: 23px; }
  .blog-cta { padding: 25px; border-radius: 16px; margin-top: 36px; }
  .blog-cta-actions, .blog-cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card { transition: none; }
  .blog-card:hover { transform: none; }
}
