/* Articles published from the CRM (blog/<slug>/index.html). They are plain HTML without the React bundle,
   so the header menus are <details> elements; everything else uses the site's own stylesheet. */
.tbg-static-blog .desktop-nav .tbg-work-menu .nav-trigger{display:flex;align-items:center;gap:5px}
.tbg-static-blog .tbg-work-links a[aria-current=page]{color:#1948df!important}

/* Phone menu */
.tbg-mobile-nav{position:static}
.tbg-mobile-nav>summary{list-style:none}
.tbg-mobile-nav>summary::-webkit-details-marker{display:none}
.tbg-mobile-nav>summary:focus-visible{outline:3px solid #1948df;outline-offset:3px}
.tbg-mobile-panel{position:fixed;inset:0 0 0 auto;z-index:80;width:min(92vw,420px);overflow-y:auto;padding:84px 24px 32px;background:#fff;color:#182334;box-shadow:-20px 0 50px #17253630}
.tbg-mobile-nav[open]::before{content:"";position:fixed;inset:0;z-index:79;background:#13203266}
.tbg-mobile-nav[open]>summary{position:fixed;top:18px;right:18px;z-index:81;background:#fff}
.tbg-mobile-panel nav{display:grid}
.tbg-mobile-panel nav>a{border-bottom:1px solid #d6dce6;padding:15px 0;font-size:18px;text-decoration:none;color:inherit}
.tbg-mobile-panel details{border-bottom:1px solid #d6dce6}
.tbg-mobile-panel details>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:18px;cursor:pointer}
.tbg-mobile-panel details>summary::-webkit-details-marker{display:none}
.tbg-mobile-panel details[open]>summary svg{transform:rotate(180deg)}
.tbg-mobile-panel details>div a{display:block;padding:12px 8px;font-size:15px;text-decoration:none;color:inherit}
.tbg-mobile-panel details>div a[aria-current=page]{color:#174cde;font-weight:600}
.tbg-mobile-panel nav .button{color:#fff;text-align:center;background:#174cde;border:0;margin-top:24px;padding:16px;justify-content:center}
.tbg-mobile-phone{display:inline-flex;align-items:center;min-height:44px;margin-top:18px;color:inherit}
@media (min-width:851px){.tbg-mobile-nav{display:none}}

/* Article body extras the built-in articles do not use */
.blog-reading-layout.no-contents{grid-template-columns:minmax(0,750px);justify-content:center}
.blog-prose h3{font-size:24px;line-height:1.25;letter-spacing:-.02em;margin:32px 0 12px}
.blog-prose ol{margin-bottom:28px;padding-left:26px;list-style:decimal outside}
.blog-prose blockquote{margin:32px 0;padding:6px 0 6px 24px;border-left:3px solid #174cde;font-family:Georgia,serif;font-size:24px;line-height:1.45;color:#182334}
.blog-prose blockquote p{margin:0}
.blog-prose a:not(.button){color:#174cde;text-decoration:underline;text-underline-offset:3px}
.blog-prose strong{color:#182334}
.blog-inline-image{margin:36px 0}
.blog-inline-image img{width:100%;height:auto;border-radius:4px}
.blog-inline-image figcaption{color:#535f71;margin-top:8px;font-size:13px;line-height:1.5}
@media (max-width:850px){.blog-prose blockquote{font-size:21px}.blog-prose h3{font-size:21px}}
.tbg-mobile-nav[open]>summary svg{display:none}
.tbg-mobile-nav[open]>summary::after{content:"";width:20px;height:20px;background:no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182334' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}

/* Blog list (1.7): topic chips, search, pager, card details */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.blog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:36px}
.blog-chips{display:flex;flex-wrap:wrap;gap:8px}
.blog-chips a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid #d6dce6;border-radius:999px;background:#fff;color:#182334;font-size:14px;font-weight:600;text-decoration:none}
.blog-chips a:hover{border-color:#174cde;color:#174cde}
.blog-chips a[aria-current=page]{background:#174cde;border-color:#174cde;color:#fff}
.blog-search input{box-sizing:border-box;width:min(320px,100%);min-height:44px;padding:0 16px;border:1px solid #c5cdd9;border-radius:999px;font:inherit;font-size:15px;background:#fff}
.blog-search input:focus{outline:3px solid #174cde33;border-color:#174cde}
.blog-search-status{margin-top:-16px;margin-bottom:24px;color:#535f71;font-size:15px}
.blog-card-meta{margin:-6px 0 14px;font-size:13px;color:#535f71}
.blog-pager{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:90px;font-size:15px;color:#535f71}
.blog-pager a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:#174cde}
.blog-grid+.blog-pager{margin-top:-40px}
.blog-empty{padding-bottom:90px;color:#535f71}
a.blog-topic-link{display:inline-block;text-decoration:none}
a.blog-topic-link:hover{text-decoration:underline}
.blog-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0}
.blog-tags span{padding:4px 12px;border-radius:999px;background:#f0f3f9;color:#3b4759;font-size:13px}
.tbg-static-blog .desktop-nav>a.active{color:#174cde}
@media (max-width:850px){.blog-toolbar{flex-direction:column;align-items:stretch}.blog-search input{width:100%}.blog-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.blog-chips a{white-space:nowrap}.blog-grid+.blog-pager{margin-top:-20px}.blog-pager{padding-bottom:60px}}

/* Homepage: latest articles */
.tbg-home-blog{padding-top:90px;padding-bottom:90px}
.tbg-home-blog .tbg-home-blog-head{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin-bottom:36px}
.tbg-home-blog .tbg-home-blog-head h2{margin:0}
.tbg-home-blog .blog-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;padding-bottom:0}
@media (max-width:850px){.tbg-home-blog{padding-top:60px;padding-bottom:60px}.tbg-home-blog .blog-grid{grid-template-columns:1fr}}
.blog-toolbar>*{min-width:0;max-width:100%}
@media (max-width:850px){.blog-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.blog-search{width:100%}}
