/* The Bridge blog — blog.bridgefamilytherapy.com
   From CD's drawing, approved by Tyler 2026-10-25 (claude_design/work/bridge_blog_v0_1_2026_10_25.html, v0.4;
   COORD cd_bridge_blog_approved). A Bridge surface: Bridge palette and type only — no CataLumen tokens, no coral,
   no gold, no stroke principle. Teal on the light gray fails AA, so labels on gray use slate. */
:root{--slate:#365161;--slate-d:#233845;--teal:#557c86;--sage:#81a284;--ink:#2b3a44;--med:#5a6c75;--lt:#f2f5f6;--card:#e6ecee;--bd:#d4dadd}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Atkinson Hyperlegible',sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
a{color:var(--teal);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:4px}
img{max-width:100%}
.bb-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:auto}}

/* buttons */
.bb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:8px;font:700 16px/1 'Atkinson Hyperlegible',sans-serif;border:0;cursor:pointer;text-decoration:none}
a.bb-btn--p,.bb-btn--p{background:var(--slate);color:#fff}
a.bb-btn--s,.bb-btn--s{background:#fff;color:var(--teal);box-shadow:inset 0 0 0 2px var(--teal)}

/* header: the name and Blog only (his answer 2026-10-25) */
.bb-hd{display:flex;align-items:center;gap:18px;padding:0 40px;height:76px;border-bottom:1px solid var(--bd);background:#fff;position:relative}
a.bb-name{font:600 19px/1 Lexend,sans-serif;color:var(--slate);text-decoration:none;padding:12px 0}
.bb-sep{width:1px;height:24px;background:var(--bd)}
a.bb-blog{font:600 18px/1 Lexend,sans-serif;color:var(--teal);text-decoration:none;padding:12px 0}
a.bb-name:hover,a.bb-blog:hover{text-decoration:underline}
/* the skip link opens as its own slate band above the header (his walk 2026-10-27: it had landed on the practice's name).
   It stays in the page, zero-high, so Tab reaches it first, and the band opens while it has focus. */
.bb-skipband{background:var(--slate);height:0;overflow:hidden;padding:0 40px}
.bb-skipband:focus-within{height:auto;padding:10px 40px}
a.bb-skip{display:inline-flex;align-items:center;min-height:36px;color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:4px;padding:0 6px}
.bb-skipband a.bb-skip:focus-visible{outline-color:#fff}

/* footer (CD's v0.6, his rulings 2026-10-27): the box that ended every post, once; two short lines; the copyright; the
   help link once that page is approved */
.bb-ft{background:var(--lt);border-top:1px solid var(--bd);padding:26px 40px 14px}
.bb-ft-in{max-width:1040px;margin:0 auto}
.bb-ft-r1{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;padding-bottom:18px;border-bottom:1px solid var(--bd)}
.bb-ft-inv{margin:0;font:600 18px/1.4 Lexend,sans-serif;color:var(--slate);flex:1 1 320px}
.bb-ft-b{display:flex;gap:10px;flex-wrap:wrap}
.bb-ft-r2{display:flex;align-items:center;flex-wrap:wrap;gap:0 22px;padding-top:6px;font-size:15px;color:var(--med)}
.bb-ft-r2 a{color:var(--slate);min-height:44px;display:inline-flex;align-items:center}
.bb-ft-r2 a.bb-ft-help{font-weight:700}
.bb-ft-c{margin-left:auto}

/* post */
.bb-post{padding:44px 40px 56px}
.bb-banner{display:block;max-width:1000px;width:100%;height:auto;margin:0 auto 40px;border-radius:12px;background:var(--card)}
.bb-col{max-width:680px;margin:0 auto}
.bb-label,.bb-series{font:600 13px/1.3 Lexend,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:var(--teal);margin:0 0 14px}
.bb-series a{color:var(--teal)}
.bb-h1{font:700 40px/1.2 Lexend,sans-serif;color:var(--slate);margin:0 0 14px;letter-spacing:-.3px}
.bb-sub{font:400 21px/1.5 'Atkinson Hyperlegible',sans-serif;color:var(--med);margin:0 0 22px}
.bb-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:15px;color:var(--med);padding:0 0 30px;margin:0 0 34px;border-bottom:1px solid var(--bd)}
.bb-meta-t{display:flex;gap:6px;margin-left:6px;flex-wrap:wrap}
a.bb-tag{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:var(--lt);color:var(--slate);text-decoration:none;font-size:14px;font-weight:700}
a.bb-tag:hover{text-decoration:underline}
.bb-body p,.bb-body li{font-size:18px;line-height:1.7}
.bb-body p{margin:0 0 22px}
.bb-body h2{font:700 27px/1.3 Lexend,sans-serif;color:var(--slate);margin:46px 0 16px}
.bb-body h3{font:600 22px/1.35 Lexend,sans-serif;color:var(--slate);margin:34px 0 12px}
.bb-body h4{font:600 19px/1.4 Lexend,sans-serif;color:var(--slate);margin:28px 0 10px}
.bb-body hr{border:0;height:1px;background:var(--bd);margin:40px 0}
.bb-body strong{font-weight:700;color:var(--slate-d)}
.bb-body ul,.bb-body ol{padding-left:26px;margin:0 0 24px}
.bb-body li{margin:0 0 10px}
.bb-body li::marker{color:var(--teal);font-weight:700}
.bb-body li p{margin:0}
.bb-body blockquote{margin:30px 0;padding:4px 0 4px 22px;border-left:3px solid var(--teal);font-size:21px;line-height:1.6;color:var(--slate)}
.bb-body blockquote p{font-size:21px;line-height:1.6;margin:0 0 12px}
.bb-body blockquote p:last-child{margin:0}
.bb-body img{display:block;height:auto;border-radius:10px;margin:28px auto}
/* references: whatever follows a heading named References or Sources prints quieter (his answer 2026-10-25) */
.bb-body h2.bb-ref-h{font-size:19px;margin:44px 0 10px}
.bb-body .bb-refs p,.bb-body .bb-refs li{font-size:15px;line-height:1.6;color:var(--med);margin:0 0 12px}
/* the foot of a post (CD's v0.6, his walk 2026-10-27): the next part, then the whole series with this one marked; or,
   for a post on its own, BA's Read next lines; the references last, quieter */
.bb-nx a{display:flex;flex-direction:column;gap:6px;border:1px solid var(--bd);border-radius:12px;padding:18px 22px;text-decoration:none;margin:46px 0 6px}
.bb-nx .k{font:600 12px/1.2 Lexend,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:var(--teal)}
.bb-nx .t{font:600 20px/1.3 Lexend,sans-serif;color:var(--slate)}
.bb-nx .s{font-size:16px;line-height:1.5;color:var(--ink)}
.bb-nx a:hover .t{text-decoration:underline}
.bb-sl{margin:6px 0 10px}
.bb-body .bb-sl h2{font:600 19px/1.3 Lexend,sans-serif;margin:26px 0 10px}
.bb-sl ol{list-style:none;margin:0;padding:0}
.bb-body .bb-sl li{display:flex;gap:14px;align-items:baseline;font-size:17px;line-height:1.45;margin:0;padding:10px 0;border-top:1px solid var(--bd)}
.bb-sl .n{font:700 17px/1 Lexend,sans-serif;color:var(--teal);width:18px;flex:none}
.bb-sl a{color:var(--slate)}
.bb-sl .cur .t{font-weight:700;color:var(--slate-d)}
.bb-sl .here{margin-left:auto;font-size:14px;color:var(--med);white-space:nowrap}
.bb-rn{background:var(--lt);border-radius:12px;padding:22px 26px;margin:46px 0 16px}
.bb-body .bb-rn h2{font:600 19px/1.3 Lexend,sans-serif;margin:0 0 12px}
.bb-body .bb-rn ul{list-style:none;padding:0;margin:0}
.bb-body .bb-rn li,.bb-body .bb-rn p{font-size:17px;line-height:1.55;margin:0 0 12px}
.bb-body .bb-rn li:last-child,.bb-body .bb-rn p:last-child{margin:0}
.bb-rn a{color:var(--slate)}

/* a pull quote and a note, from one-row tables in the Doc (CD's v0.6) */
.bb-body p.bb-pull{font:600 25px/1.4 Lexend,sans-serif;color:var(--slate);border-left:3px solid var(--sage);padding-left:22px;margin:34px 0}
.bb-call{background:var(--lt);border-left:4px solid var(--teal);border-radius:0 10px 10px 0;padding:16px 20px;margin:0 0 24px}
.bb-body .bb-call p{margin:0;font-size:17px}
.bb-body .bb-call p.h{font:600 13px/1.3 Lexend,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:var(--slate);margin-bottom:6px}
/* a picture in the post (BA's ask 2026-10-27): whole, its own size held so nothing jumps, a caption beneath when given */
/* a banner that carries a caption (his ruling 2026-11-04). The figure takes the
   centering and the bottom margin the bare img used to carry; the caption is held to
   the body column width so a 15px line does not run 1000px wide. 🛑 BA's default -
   the typography here is CD's to rule. */
.bb-banner-fig{max-width:1000px;margin:0 auto 40px}
.bb-banner-fig .bb-banner{margin:0}
.bb-banner-fig figcaption{max-width:680px;margin:10px auto 0;padding:0 20px;font-size:15px;line-height:1.5;color:var(--med)}
.bb-fig{margin:30px 0}
.bb-body .bb-fig .bb-fig-im{display:block;width:100%;height:auto;border-radius:10px;margin:0;background:var(--card)}
.bb-fig figcaption{font-size:15px;line-height:1.5;color:var(--med);margin-top:10px}

/* the help page, built once its words are approved */
.bb-hp{padding:48px 40px 60px}

/* front page */
.bb-fp-head{max-width:1040px;margin:0 auto;padding:48px 40px 4px}
.bb-fp-h1{font:700 44px/1.15 Lexend,sans-serif;color:var(--slate);margin:0 0 12px;letter-spacing:-.4px}
.bb-fp-lead{font-size:19px;line-height:1.6;max-width:640px;margin:0}
.bb-tools{max-width:1040px;margin:0 auto;padding:26px 40px 6px}
.bb-tools-r{display:flex;gap:16px;align-items:flex-end;margin-bottom:16px}
.bb-tools-r .bb-f:first-child{flex:1}
.bb-lab{display:block;font-size:14px;font-weight:700;color:var(--ink);margin:0 0 6px}
.bb-search{display:flex;align-items:center;gap:10px;border:1px solid var(--bd);border-radius:8px;height:50px;padding:0 8px 0 14px;background:#fff;color:var(--med)}
.bb-search:focus-within{outline:2px solid var(--teal);outline-offset:2px}
.bb-search input{flex:1;border:0;outline:0;font:400 17px 'Atkinson Hyperlegible',sans-serif;color:var(--ink);min-width:0;background:transparent;height:46px}
.bb-search input:focus-visible{outline:0}
.bb-search input::placeholder{color:#6f8089}
.bb-search input::-webkit-search-cancel-button{display:none}
.bb-clear{min-height:36px;padding:0 12px;border-radius:8px;border:1px solid var(--bd);background:#fff;font:700 14px 'Atkinson Hyperlegible',sans-serif;color:var(--slate);cursor:pointer}
.bb-sel{appearance:none;-webkit-appearance:none;height:50px;padding:0 44px 0 14px;border:1px solid var(--bd);border-radius:8px;font:400 17px 'Atkinson Hyperlegible',sans-serif;min-width:200px;color:var(--ink);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235a6c75' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center}
.bb-chips{display:flex;flex-wrap:wrap;gap:8px}
.bb-chip{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--bd);background:#fff;font:700 15px/1 'Atkinson Hyperlegible',sans-serif;color:var(--slate);cursor:pointer}
.bb-chip[aria-pressed="true"]{background:var(--slate);border-color:var(--slate);color:#fff}
/* one search line with a Topics button, and the panel it opens (phone only; CD's v0.6) */
.bb-one{display:flex;gap:8px}
.bb-one .bb-search{flex:1;min-width:0}
.bb-topics{display:none;align-items:center;gap:6px;min-height:50px;padding:0 14px;border-radius:8px;border:1px solid var(--bd);background:#fff;font:700 15px/1 'Atkinson Hyperlegible',sans-serif;color:var(--slate);cursor:pointer;flex:none}
.bb-sheet{border:0;padding:18px 16px 20px;margin:auto 0 0;width:100%;max-width:100%;border-radius:16px 16px 0 0;box-shadow:0 -6px 18px rgba(0,0,0,.12);color:var(--ink)}
.bb-sheet::backdrop{background:rgba(35,56,69,.42)}
.bb-sheet-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.bb-sheet-h h2{font:700 20px/1.2 Lexend,sans-serif;color:var(--slate);margin:0}
.bb-menu{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;border:1px solid var(--bd);background:#fff;font:700 15px/1 'Atkinson Hyperlegible',sans-serif;color:var(--slate);cursor:pointer}
.bb-sheet .bb-f{margin:0 0 16px}
.bb-sheet .bb-sel{width:100%}
.bb-btn.bb-wide{width:100%}
.bb-wrap{max-width:1040px;margin:0 auto;padding:18px 40px 56px}
.bb-sc{display:grid;grid-template-columns:340px 1fr;gap:30px;background:var(--lt);border-radius:12px;padding:24px;margin:10px 0 40px}
.bb-sc-im{display:block;width:100%;height:auto;align-self:start;border-radius:10px;object-fit:cover;object-position:center;aspect-ratio:16/9;background:var(--card)}
.bb-sc h2{font:700 27px/1.25 Lexend,sans-serif;margin:0 0 8px}
.bb-sc h2 a{color:var(--slate);text-decoration:none}
.bb-sc h2 a:hover{text-decoration:underline}
.bb-sc p{font-size:17px;line-height:1.6;margin:0 0 12px}
.bb-sc .bb-label{color:var(--slate)}
.bb-sc-l{margin:0;padding-left:22px}
.bb-sc-l li{font-size:16px;line-height:1.5;margin:0 0 4px}
.bb-sc-l li::marker{color:var(--slate);font-weight:700}
.bb-sc-l a{color:var(--slate)}
.bb-sc-l li.more{list-style:none;margin-left:-22px;margin-top:6px}
.bb-list-h,.bb-grp-h{font:700 22px/1.3 Lexend,sans-serif;color:var(--slate);margin:0 0 4px}
.bb-list-h span,.bb-grp-h span{font:400 15px 'Atkinson Hyperlegible',sans-serif;color:var(--med);margin-left:8px}
.bb-grp-h{margin-top:30px}
.bb-grp:first-child .bb-grp-h{margin-top:0}
.bb-grp-more{margin:0 0 6px;padding:14px 0 0;border-top:1px solid var(--bd);font-size:16px}
.bb-linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--teal);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bb-row{display:grid;grid-template-columns:260px 1fr;gap:28px;padding:26px 0;border-top:1px solid var(--bd)}
.bb-thumb{display:block;width:100%;height:auto;align-self:start;border-radius:10px;object-fit:cover;object-position:center;aspect-ratio:2/1;background:var(--card)}
.bb-row .tp{font:600 12.5px/1.3 Lexend,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:var(--teal);margin:2px 0 8px}
.bb-row h3{margin:0 0 8px}
.bb-row h3 a{font:600 23px/1.3 Lexend,sans-serif;color:var(--slate);text-decoration:none}
.bb-row h3 a:hover{text-decoration:underline}
.bb-row .sb{font-size:17px;line-height:1.55;color:var(--ink);margin:0 0 8px}
.bb-row .sr{font-size:15px;color:var(--slate);font-weight:700;margin:0 0 4px}
.bb-row .m{font-size:15px;color:var(--med);margin:0}
.bb-count{font:700 17px 'Atkinson Hyperlegible',sans-serif;color:var(--ink);margin:4px 0 4px}
.bb-none{font-size:17px;margin:6px 0 30px}

/* series page */
.bb-sp{max-width:840px;margin:0 auto;padding:40px 40px 60px}
.bb-crumb{font-size:15px;color:var(--med);margin:0 0 22px}
.bb-sp-l{list-style:none;margin:30px 0 0;padding:0}
.bb-sp-l li{border-top:1px solid var(--bd)}
a.bb-sp-i{display:flex;gap:22px;padding:22px 4px;text-decoration:none;color:var(--ink)}
.bb-sp-i .n{font:700 30px/1 Lexend,sans-serif;color:var(--teal);width:34px;flex:none;padding-top:2px}
.bb-sp-i .tx{display:flex;flex-direction:column;gap:6px}
.bb-sp-i .t{font:600 22px/1.3 Lexend,sans-serif;color:var(--slate)}
a.bb-sp-i:hover .t{text-decoration:underline}
.bb-sp-i .s{font-size:17px;line-height:1.55}
.bb-sp-i .d{font-size:15px;color:var(--med)}
/* each series has its own header: its banner first (his walk 2026-10-27) */
.bb-sp-ban{display:block;width:100%;height:auto;border-radius:12px;margin:0 0 30px;background:var(--card)}

/* not found */
.bb-nf{padding:64px 40px 64px}
.bb-nf .bb-sub{margin-bottom:26px}
.bb-nf-h{font:700 22px/1.3 Lexend,sans-serif;color:var(--slate);margin:52px 0 16px}
.bb-nf-l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
a.bb-nf-c{display:flex;flex-direction:column;gap:10px;text-decoration:none}
.bb-nf-c .t{font:600 17px/1.35 Lexend,sans-serif;color:var(--slate)}
a.bb-nf-c:hover .t{text-decoration:underline}

/* phone sizes (the drawing's phone frames) */
@media (max-width:720px){
  .bb-hd{height:64px;padding:0 16px;gap:8px}
  a.bb-name{font-size:16px}
  .bb-skipband{padding:0 16px}
  .bb-skipband:focus-within{padding:10px 16px}
  .bb-ft{padding:22px 16px 10px}
  .bb-ft-b{width:100%}
  .bb-ft-b .bb-btn{flex:1 1 100%}
  .bb-ft-r2{flex-direction:column;align-items:flex-start}
  .bb-ft-r2>span:first-child{padding-top:10px}
  .bb-ft-c{margin-left:0;padding:6px 0 4px}
  .bb-topics{display:inline-flex}
  .bb-tools:not(.bb-nodlg) .bb-f-sort,.bb-tools:not(.bb-nodlg) .bb-f-chips{display:none}
  .bb-tools .bb-f-q .bb-lab{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .bb-hp{padding:28px 16px 40px}
  .bb-body p.bb-pull{font-size:22px}
  .bb-post{padding:18px 16px 40px}
  .bb-banner{margin:0 0 24px;border-radius:10px}
  .bb-h1{font-size:31px;line-height:1.22}
  .bb-sub{font-size:19px}
  .bb-meta{padding-bottom:22px;margin-bottom:26px}
  .bb-meta-t{margin-left:0;width:100%}
  .bb-body h2{font-size:24px;margin-top:38px}
  .bb-fp-head{padding:28px 16px 0}
  .bb-fp-h1{font-size:32px}
  .bb-fp-lead{font-size:18px}
  .bb-tools{padding:20px 16px 0}
  .bb-tools-r{flex-direction:column;align-items:stretch;gap:14px}
  .bb-sel{width:100%}
  .bb-wrap{padding:14px 16px 40px}
  .bb-sc{grid-template-columns:1fr;gap:16px;padding:16px;margin:6px 0 30px}
  .bb-sc h2{font-size:23px}
  .bb-row{grid-template-columns:1fr;gap:14px;padding:22px 0}
  .bb-row h3 a{font-size:21px}
  .bb-sp{padding:24px 16px 40px}
  .bb-sp-i{gap:14px}
  .bb-sp-i .n{font-size:24px;width:24px}
  .bb-sp-i .t{font-size:19px}
  .bb-nf{padding:36px 16px 40px}
  .bb-nf-l{grid-template-columns:1fr}
}
/* a help-page draft rendered for his review on a preview build (never published): says so before anything else */
.bb-body p.bb-draft{background:#fdf6e4;border:1px solid #e3cf9c;border-radius:10px;padding:12px 16px;font-size:15px;line-height:1.5;color:#5c4510;margin:0 0 28px}

/* the help page in the drawn shape (his ruling 2026-10-28, CD scene 13): large plain type, nothing else on it, and each
   way to reach someone a full-width button to call or text, under its own approved line */
.bb-hp .bb-body{font-size:19px;line-height:1.6}
.bb-hp .bb-body h2{margin-top:36px}
.bb-hp .bb-body ul{list-style:none;padding:0;margin:0}
.bb-hp .bb-body li{margin:0 0 22px}
.bb-hp-btns{display:flex;flex-direction:column;gap:8px;margin:10px 0 0}
.bb-hp-btns .bb-hp-btn{width:100%;min-height:52px;gap:10px;font-size:18px;text-decoration:none}
.bb-hp-btn svg{width:20px;height:20px;flex-shrink:0}
.bb-hp .bb-body p + .bb-hp-btns{margin:-6px 0 22px}
