/* BSI Homecare blog: home section, archive, single post. Uses tokens from bsi-style.css */
.bsi-nav a.is-active{color:var(--o)}
.bsi-btn-inline{display:inline-flex}
.bsi-blog-head>.bsi-btn-ghost{margin-top:0}
.bsi-blog-head>.bsi-btn{display:inline-flex;flex:none;width:auto}
.bsi-blog-main a{color:inherit}

/* section header */
.bsi-blog-head{display:flex;flex-direction:column;gap:14px;align-items:flex-start;margin-bottom:22px}
.bsi-blog-head .bsi-body{max-width:520px;margin-bottom:0}
.bsi-blog-home{background:var(--peach);padding:44px 0}

/* cards */
.bsi-posts{display:grid;gap:18px;grid-template-columns:1fr}
.bsi-pcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:box-shadow .2s,transform .2s}
.bsi-pcard:hover{box-shadow:0 14px 30px rgba(15,26,46,.09);transform:translateY(-2px)}
.bsi-pcard-img{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;background:var(--peach2);overflow:hidden}
.bsi-pcard-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.bsi-pcard:hover .bsi-pcard-img img{transform:scale(1.03)}
.bsi-pcard-ph{width:44px;height:44px;color:#f3ac88}
.bsi-pcard-body{display:flex;flex-direction:column;gap:10px;padding:18px;flex:1}
.bsi-pcard-title{margin:0;font-size:18px;line-height:1.3;font-weight:700;color:var(--ink);letter-spacing:-.005em}
.bsi-pcard-title a{text-decoration:none}
.bsi-pcard-title a:hover{color:var(--o)}
.bsi-pcard-ex{margin:0;font-size:13.5px;line-height:1.65;color:var(--mute)}
.bsi-pcard-body .bsi-meta{margin-top:auto;padding-top:4px}
.bsi-meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;font-size:12px;font-weight:500;color:var(--mute)}
.bsi-meta span+span::before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:#b6bdc9;margin-right:14px;vertical-align:middle}
.bsi-chip{align-self:flex-start;display:inline-block;padding:4px 10px;border-radius:999px;background:var(--peach);color:var(--od)!important;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-decoration:none}
.bsi-chip:hover{background:var(--peach2)}
.bsi-pcard-featured{margin-bottom:18px}
.bsi-pcard-featured .bsi-pcard-title{font-size:24px}
.bsi-pcard-featured .bsi-pcard-ex{font-size:14.5px}
.bsi-posts-after{margin-top:0}

/* archive hero + tools */
.bsi-blog-hero{padding:30px 0 10px;background:linear-gradient(180deg,var(--peach) 0,#fff 100%)}
.bsi-blog-hero .bsi-h1{max-width:760px}
.bsi-blog-lead{max-width:620px;font-size:14.5px}
.bsi-blog-lead p{margin:0}
.bsi-blog-tools{display:flex;flex-direction:column;gap:14px;margin-top:22px}
.bsi-pills{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.bsi-pills::-webkit-scrollbar{display:none}
.bsi-pills a{flex:none;padding:8px 14px;border:1px solid #cfd6df;border-radius:999px;background:#fff;font-size:12.5px;font-weight:600;color:var(--ink);text-decoration:none;transition:.2s}
.bsi-pills a:hover{border-color:var(--o);color:var(--o)}
.bsi-pills a.is-active{background:var(--o);border-color:var(--o);color:#fff}
.bsi-search{display:flex;align-items:center;max-width:380px;width:100%;border:1px solid #cfd6df;border-radius:8px;background:#fff;overflow:hidden}
.bsi-search:focus-within{border-color:var(--o)}
.bsi-search input{flex:1;min-width:0;border:0;outline:0;background:none;padding:12px 14px;font:inherit;font-size:13.5px;color:var(--ink)}
.bsi-search button{display:flex;align-items:center;justify-content:center;width:44px;align-self:stretch;border:0;background:var(--o);color:#fff;cursor:pointer}
.bsi-search button:hover{background:var(--od)}
.bsi-search button .bsi-ico{width:18px;height:18px}
.bsi-blog-list{padding:26px 0 40px}
.bsi-crumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 18px;font-size:12px;font-weight:500;color:var(--mute)}
.bsi-crumbs a{text-decoration:none}
.bsi-crumbs a:hover{color:var(--o)}

/* pagination */
.bsi-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:34px}
.bsi-pager a,.bsi-pager span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 14px;border:1px solid #cfd6df;border-radius:8px;font-size:13px;font-weight:600;color:var(--ink);text-decoration:none;background:#fff}
.bsi-pager a:hover{border-color:var(--o);color:var(--o)}
.bsi-pager .current{background:var(--o);border-color:var(--o);color:#fff}
.bsi-pager .dots{border:0;background:none}

/* empty state */
.bsi-empty{max-width:480px;margin:20px auto;padding:40px 24px;text-align:center;border:1px dashed #f3ac88;border-radius:var(--r);background:var(--peach)}
.bsi-empty>.bsi-ico{width:40px;height:40px;color:var(--o);margin-bottom:10px}
.bsi-empty .bsi-body{margin-left:auto;margin-right:auto;font-size:14px}

/* single post */
.bsi-narrow{max-width:780px}
.bsi-single-head{padding:30px 0 10px}
.bsi-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.bsi-single-head .bsi-h1{font-size:clamp(30px,7.4vw,44px);letter-spacing:-.02em}
.bsi-byline{display:flex;align-items:center;gap:12px;margin-top:6px}
.bsi-byline strong{display:block;font-size:14px;color:var(--ink);margin-bottom:2px}
.bsi-avatar{border-radius:50%;flex:none;display:block}
.bsi-single-img{max-width:1000px;margin-top:26px}
.bsi-hero-img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r)}
.bsi-single-body{padding:26px 0 30px}

/* article typography */
.bsi-prose{font-size:16.5px;line-height:1.85;color:#2a3344}
.bsi-prose>*{margin-top:0;margin-bottom:1.25em}
.bsi-prose h2,.bsi-prose h3,.bsi-prose h4{color:var(--ink);line-height:1.25;letter-spacing:-.01em;margin:1.9em 0 .6em}
.bsi-prose h2{font-size:26px;font-weight:700}
.bsi-prose h3{font-size:21px;font-weight:700}
.bsi-prose h4{font-size:17px;font-weight:700}
.bsi-prose a{color:var(--od);text-decoration:underline;text-underline-offset:3px}
.bsi-prose a:hover{color:var(--o)}
.bsi-prose ul,.bsi-prose ol{padding-left:1.4em}
.bsi-prose li{margin-bottom:.45em}
.bsi-prose li::marker{color:var(--o);font-weight:700}
.bsi-prose img,.bsi-prose video{max-width:100%;height:auto;border-radius:var(--r)}
.bsi-prose figure{margin-left:0;margin-right:0}
.bsi-prose figcaption{margin-top:8px;font-size:13px;color:var(--mute);text-align:center}
.bsi-prose blockquote{margin-left:0;margin-right:0;padding:16px 20px;border-left:4px solid var(--o);background:var(--peach);border-radius:0 var(--r) var(--r) 0;font-size:18px;font-weight:500;color:var(--ink)}
.bsi-prose blockquote p{margin:0}
.bsi-prose hr{border:0;height:1px;background:var(--line);margin:2em 0}
.bsi-prose table{width:100%;border-collapse:collapse;font-size:14.5px}
.bsi-prose th,.bsi-prose td{padding:10px 12px;border:1px solid var(--line);text-align:left}
.bsi-prose th{background:var(--peach);color:var(--ink)}
.bsi-prose code{padding:2px 6px;border-radius:4px;background:var(--peach);font-size:.9em}

.bsi-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0}
.bsi-tags a{font-size:12.5px;font-weight:600;color:var(--mute);text-decoration:none;padding:5px 11px;border-radius:999px;background:#f4f6f9}
.bsi-tags a:hover{color:var(--o)}
.bsi-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:26px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.bsi-share-label{width:100%;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);margin-bottom:2px}
.bsi-share .bsi-btn{cursor:pointer;font-family:inherit}
.bsi-share .bsi-btn-outline{justify-content:center}
.bsi-author{display:flex;gap:16px;align-items:flex-start;padding:20px;background:var(--peach);border-radius:var(--r)}
.bsi-author .bsi-eyebrow{margin-bottom:4px}
.bsi-author .bsi-lead{margin-bottom:6px;font-size:16px}
.bsi-author .bsi-lead a{text-decoration:none}
.bsi-author .bsi-body{margin:0;font-size:13.5px}
.bsi-aside-cta{display:grid;gap:16px;margin:26px 0;padding:24px 20px;background:var(--navy);border-radius:var(--r);color:#fff}
.bsi-aside-cta .bsi-h2{color:#fff;margin-bottom:6px}
.bsi-aside-cta .bsi-body{color:rgba(255,255,255,.75);margin:0}
.bsi-postnav{display:grid;gap:12px;grid-template-columns:1fr}
.bsi-postnav a{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r);text-decoration:none;transition:.2s}
.bsi-postnav a:hover{border-color:var(--o);box-shadow:0 10px 24px rgba(15,26,46,.07)}
.bsi-postnav span{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--o)}
.bsi-postnav strong{font-size:14.5px;line-height:1.4;color:var(--ink)}
.bsi-postnav-next{text-align:right}
.bsi-blog-related{background:var(--peach);padding:40px 0}

@media(min-width:600px){
  .bsi-posts{grid-template-columns:repeat(2,1fr)}
  .bsi-blog-head{flex-direction:row;align-items:flex-end;justify-content:space-between}
  .bsi-blog-tools{flex-direction:row;align-items:center;justify-content:space-between}
  .bsi-blog-tools .bsi-pills{flex-wrap:wrap;overflow:visible}
  .bsi-postnav{grid-template-columns:1fr 1fr}
  .bsi-postnav-next{grid-column:2}
  .bsi-share-label{width:auto;margin:0 6px 0 0}
  .bsi-aside-cta{grid-template-columns:1fr auto;align-items:center}
}
@media(min-width:1024px){
  .bsi-posts{grid-template-columns:repeat(3,1fr);gap:22px}
  .bsi-blog-hero{padding:44px 0 14px}
  .bsi-blog-home{padding:56px 0}
  .bsi-pcard-featured{display:grid;grid-template-columns:1.1fr 1fr;margin-bottom:22px}
  .bsi-pcard-featured .bsi-pcard-img{aspect-ratio:auto;min-height:340px}
  .bsi-pcard-featured .bsi-pcard-body{justify-content:center;padding:36px;gap:14px}
  .bsi-pcard-featured .bsi-pcard-title{font-size:30px}
  .bsi-single-head{padding:44px 0 14px}
  .bsi-single-body{padding:36px 0 44px}
  .bsi-prose{font-size:17px}
  .bsi-blog-related{padding:56px 0}
}

/* image logo */
.bsi-logo-img{display:block;height:46px;width:auto;max-width:none}
.bsi-logo-light{background:#fff;padding:7px 12px;border-radius:10px}
.bsi-logo-light .bsi-logo-img{height:38px}
@media(min-width:1024px){.bsi-logo-img{height:56px}}
