/* blog.css: inc/blog.php */
:root{--tl:var(--wp--preset--color--line);--tm:var(--wp--preset--color--coffee-muted);--tc:var(--wp--preset--color--coffee);--tr:var(--wp--preset--color--paper-raised);--t5:var(--wp--preset--spacing--50);--t6:var(--wp--preset--spacing--60);--t4:var(--wp--preset--spacing--40);--tB:1px solid var(--tl)}
.thl-blog-title .thl-blog-h1{font-size:var(--wp--preset--font-size--display-l);max-width:22ch;margin:8px 0 4px}
.thl-blog-lead{font-size:var(--wp--preset--font-size--lead);color:var(--tm);max-width:62ch;margin:0}
.thl-blog-title .is-style-brocade{margin:0}
.thl-blog-crumbs ol,.thl-blog-topics ul,.thl-blog-toc ol,.thl-blog-list{list-style:none;margin:0;padding:0}
.thl-blog-crumbs :is(ol,li),.thl-blog-topics ul{display:flex;flex-wrap:wrap;align-items:center}
.thl-blog-crumbs{font-size:14px;color:var(--tm)}
.thl-blog-crumbs li+li::before{content:"›";margin:0 8px}
.thl-blog-crumbs a,.thl-blog-topics a,.thl-blog-toc a,.thl-blog-pages :is(a,.page-numbers){display:inline-flex;align-items:center;min-height:44px;color:var(--tc)}
.thl-blog-title .wp-block-post-terms{margin-block:-12px}.thl-blog-title .wp-block-post-terms a{color:inherit;text-decoration:none;display:inline-block;padding-block:12px}
.thl-blog-topics ul{gap:8px;margin-top:8px}
.thl-blog-topics a{gap:8px;padding:0 16px;border:var(--tB);border-radius:999px;text-decoration:none;font-size:15px}
.thl-blog-topics a:hover,.thl-blog-topics [aria-current]{border-color:var(--tc)}
.thl-blog-topics span{color:var(--tm)}
.thl-blog-meta{display:flex;flex-wrap:wrap;margin:0;font-size:14px;color:var(--tm)}
.thl-blog-meta span:not(:last-child)::after{content:"·";margin:0 10px}
.thl-blog-band{padding-block:var(--t6)}
.thl-blog-band--raised{background:var(--tr)}
.thl-blog-band--raised .thl-project{background:var(--wp--preset--color--paper)}
.thl-blog-head{display:grid;gap:12px;max-width:70ch}
.thl-blog-head>*,.thl-blog-card__body>*{margin:0!important}
.thl-blog-head h2{font-size:var(--wp--preset--font-size--heading)}
.thl-blog-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px 32px}
.thl-blog-row .wp-block-buttons{margin:0}
.thl-blog-band .alignwide>.thl-blog-head,.thl-blog-band>.thl-blog-head,.thl-blog-row{margin-bottom:var(--t5)}
.thl-blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:var(--t4);padding:0}
.thl-blog-card{display:flex;flex-direction:column;height:100%}
.thl-blog-card figure{margin:0;overflow:hidden}
.thl-blog-card figure img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:0}
.thl-blog-card__body{display:flex;flex-direction:column;gap:12px;padding:var(--t4);flex:1}
.thl-blog-card__title{font-size:22px;line-height:1.25}
.thl-blog-card__title a{color:inherit;text-decoration:none}
.thl-blog-card__title a::after{content:"";position:absolute;inset:0;z-index:1}
.thl-blog-card:has(a:focus-visible){outline:2px solid var(--thl-focus);outline-offset:3px}
.thl-blog-card__foot{margin-top:auto!important;padding-top:12px;border-top:var(--tB);font-size:14px;font-weight:600}
.thl-blog-pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr));gap:var(--t4)}
.thl-blog-card--feature .thl-blog-card__title{font-size:clamp(26px,3vw,34px)}
.thl-blog-pillars .thl-project hr.is-style-brocade{width:72px}
@media (min-width:900px){.thl-blog-pillars>:only-child{display:grid;grid-template-columns:7fr 5fr}.thl-blog-pillars>:only-child img{height:100%}.thl-blog-pillars>:only-child .thl-blog-card__body{padding:var(--t5);justify-content:center}}
.thl-blog-pinned{margin-bottom:var(--t6)}
.thl-blog-list{columns:2 420px;column-gap:var(--t6)}
.thl-blog-list li{break-inside:avoid;display:flex;flex-direction:column;padding:12px 0;border-top:var(--tB)}
.thl-blog-list a{font-weight:600;color:var(--tc);text-decoration:none;padding-block:6px}
.thl-blog-list span{font-size:14px}
.thl-blog-toc a:hover,.thl-blog-list a:hover{color:var(--wp--preset--color--basalt);text-decoration:underline}
.thl-blog-pages{margin-top:var(--t5);gap:8px}
.thl-blog-pages :is(a,.page-numbers){justify-content:center;min-width:44px;padding:0 12px;border:var(--tB);text-decoration:none}
.thl-blog-pages .current{background:var(--tc);color:var(--wp--preset--color--paper)}
.thl-blog-search :is(input,button){min-height:48px}
.thl-blog-article{padding-block:var(--t5) var(--wp--preset--spacing--70)}
.thl-blog-cover{margin:0 0 var(--t5)}
.thl-blog-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--wp--custom--radius--md)}
.thl-blog-main{max-width:720px}
.thl-blog-main .thl-entry h2{font-size:clamp(28px,3.2vw,38px);margin-top:1.6em}
.thl-entry :is(h2,h3)[id]{scroll-margin-top:calc(var(--thl-header-h) + 24px)}
.thl-blog-toc a{display:flex;padding:4px 0;text-decoration:none;font-size:15px;line-height:1.4}
.thl-blog-toc__h3 a{padding-left:16px;font-size:14px;color:var(--tm)}
.thl-blog-toc--m{margin-bottom:var(--t5);border:var(--tB);border-radius:var(--wp--custom--radius--md);background:var(--tr);padding:0 16px}
.thl-blog-toc--m summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;font-weight:600}
.thl-blog-toc--m summary::after{content:"+";font-size:22px}
.thl-blog-toc--m[open] summary::after{content:"–"}
.thl-blog-toc--m nav{padding-bottom:12px;border-top:var(--tB)}
.thl-blog-toc--d{display:none}
@media (min-width:1100px){.thl-blog-layout{display:grid;grid-template-columns:260px minmax(0,720px);gap:72px}.thl-blog-toc--m{display:none}.thl-blog-toc--d{display:block;position:sticky;top:calc(var(--thl-header-h) + 24px);max-height:calc(100vh - var(--thl-header-h) - 48px);overflow:auto}.thl-blog-toc--d ol{border-left:var(--tB);padding-left:16px}}
.thl-blog-cta{margin-top:var(--t6);padding:var(--t5);background:var(--tr);border:var(--tB);border-radius:var(--wp--custom--radius--lg)}
.thl-blog-cta>*{margin:0 0 12px}
.thl-blog-cta__t{font-size:var(--wp--preset--font-size--heading)}
.thl-blog-cta .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 0}
.thl-blog-search{max-width:640px}
@media (min-width:1100px){.thl-blog-pillars:has(>:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}.thl-blog-pillars:has(>:nth-child(5):last-child)>:nth-child(-n+2){grid-column:span 3}.thl-blog-pillars:has(>:nth-child(5):last-child)>:nth-child(n+3){grid-column:span 2}}
