/*
Theme Name: TeqFeed Atlas
Description: Lightweight, editorial tech magazine with accessible Spotlight, live search, and native WordPress publishing.
Version: 1.0.13
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: teqfeed
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments
*/
:root{--tf-ink:#17231f;--tf-muted:#516159;--tf-green:#086c57;--tf-forest:#133831;--tf-paper:#fffefa;--tf-cream:#f4f3e9;--tf-rule:#dee3d7;--tf-moss:#d7e6d5;--tf-lime:#d9ef78;--tf-radius:14px;--tf-max:82.875rem;--tf-gutter:clamp(1rem,4vw,3.5rem);--tf-header-offset:6rem;--tf-shadow:0 10px 32px #0f30251a;--tf-focus:#0a705c;--tf-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--tf-paper);color:var(--tf-ink);font:1rem/1.6 var(--tf-font)}
:where(h1,h2,h3,h4){line-height:1.13;margin:0;letter-spacing:-.032em;color:var(--tf-ink)}
p{margin:0 0 1rem}
img{max-inline-size:100%;block-size:auto;vertical-align:middle}
svg{vertical-align:middle;flex:none}
a{color:var(--tf-green);text-underline-offset:.19em}
a:hover{color:#064838}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--tf-focus);outline-offset:3px}
button,input,select,textarea{font:inherit}
button,summary{cursor:pointer}
summary{list-style:none}
summary::-webkit-details-marker{display:none}
:where(main,h2,h3,[id]){scroll-margin-block-start:var(--tf-header-offset)}
#page-top{height:1px;margin-block-end:-1px;scroll-margin:0}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.screen-reader-text:focus{clip-path:none;width:auto;height:auto;top:0;left:0;z-index:10000;padding:.75rem 1rem;background:var(--tf-paper);color:var(--tf-ink)}
.tf-container{width:min(calc(100% - 2 * var(--tf-gutter)),var(--tf-max));margin-inline:auto}
.tf-eyebrow,.tf-kicker,.tf-card__category,.tf-article__eyebrow,.tf-search__label{font:.78rem/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.11em;font-weight:750;text-transform:uppercase;color:var(--tf-green)}
.tf-header{position:sticky;z-index:100;inset-block-start:0;background:var(--tf-paper);border-bottom:1px solid var(--tf-rule)}
.admin-bar .tf-header{inset-block-start:32px}
.tf-header__bar{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(12rem,16rem);align-items:center;gap:clamp(1rem,3vw,4rem);min-height:5.5rem}
.tf-header__brand{display:flex;align-items:center;align-self:center;min-width:0}
.tf-header__brand :is(.tf-brand,.custom-logo-link){max-width:100%}
.tf-header__brand img{display:block}
.tf-header__brand .tf-brand img{transform:translateY(.25rem)}
.tf-brand,.custom-logo-link{display:inline-flex;align-items:center;line-height:1;text-decoration:none}
.tf-brand img,.custom-logo-link img{width:clamp(9.75rem,15vw,12.875rem);max-height:3.25rem;object-fit:contain;object-position:left center}
.tf-nav__list,.tf-footer__links{display:flex;align-items:center;gap:clamp(.6rem,2vw,1.6rem);margin:0;padding:0;list-style:none}
.tf-nav__list li{position:relative;list-style:none}
.tf-nav__list a{position:relative;display:block;padding:.72rem 0;color:var(--tf-ink);text-decoration:none;font-weight:700;white-space:nowrap}
.tf-nav__list a:hover,.tf-nav__list :is(.current-menu-item,.current-menu-ancestor,.current-menu-parent,.current_page_parent)>a{color:var(--tf-green)}
.tf-nav__list :is(.current-menu-item,.current-menu-ancestor,.current-menu-parent,.current_page_parent)>a::after,.tf-nav__list a[aria-current=page]::after{content:"";position:absolute;inset:calc(100% - 4px) 0 auto;height:2px;background:var(--tf-green);border-radius:2px}
.tf-nav--desktop .sub-menu{display:none;position:absolute;inset-block-start:100%;inset-inline-start:0;z-index:5;min-width:11rem;list-style:none;margin:0;padding:.5rem .9rem;background:var(--tf-paper);border:1px solid var(--tf-rule);border-radius:10px;box-shadow:var(--tf-shadow)}
.tf-nav--desktop .sub-menu .sub-menu{inset-block-start:0;inset-inline-start:100%}
.tf-nav--desktop li:is(:focus-within,:hover)>.sub-menu{display:block}
.tf-mobile-menu,.tf-search-toggle,.tf-mobile-topics{display:none}
.tf-header__search{min-width:0}
.tf-search{position:relative}
.tf-search__form{display:flex;min-width:0;align-items:center;background:var(--tf-cream);border:1px solid var(--tf-rule);border-radius:24px;transition:border-color .16s ease,box-shadow .16s ease}
.tf-search__form:focus-within{border-color:var(--tf-green);box-shadow:0 0 0 2px #086c5729}
.tf-search__field{width:100%;min-width:0;margin:0;border:0;outline:none!important;padding:.65rem .9rem;color:var(--tf-ink);background:transparent}
.tf-search__field::placeholder{color:var(--tf-muted);opacity:1}
.tf-search__submit{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;border-radius:22px;color:var(--tf-green);background:transparent;margin:0;padding:0}
.tf-search__submit:hover{background:var(--tf-moss)}
.tf-search__panel{position:absolute;inset-block-start:calc(100% + .5rem);inset-inline-end:0;width:min(32rem,calc(100vw - 2 * var(--tf-gutter)));z-index:6;padding:.72rem;background:var(--tf-paper);border:1px solid var(--tf-rule);border-radius:15px;box-shadow:var(--tf-shadow);max-height:min(28rem,60vh);overflow:auto;animation:tf-reveal .17s ease-out}
.tf-search__label{display:block;margin:.25rem .45rem .55rem}
.tf-search__results{margin:0;padding:0;list-style:none}
.tf-search__option{display:flex;align-items:center;gap:.7rem;margin:0;padding:.55rem;border-radius:8px;text-decoration:none;color:var(--tf-ink);min-height:2.75rem}
.tf-search__option:is(:hover,[aria-selected=true]){background:#e6efe1}
.tf-search__image{width:3rem;height:2.4rem;object-fit:cover;border-radius:6px;flex:none}
.tf-search__copy{min-width:0;display:grid;gap:.1rem}
.tf-search__title{font-weight:740;line-height:1.28;overflow-wrap:anywhere}
.tf-search__meta,.tf-search__notice{font-size:.8rem;color:var(--tf-muted)}
.tf-search__all{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:.55rem .48rem .25rem;margin-top:.3rem;border-top:1px solid var(--tf-rule);font-weight:720;text-decoration:none}
.tf-search__status:not(.screen-reader-text){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.tf-search-page,.tf-archive{padding-block:2.7rem 4rem;min-height:55vh}
.tf-search-page__intro,.tf-archive__intro{margin-bottom:1.8rem}
.tf-search-page__intro h1,.tf-archive__intro h1{font-size:clamp(2.05rem,5.2vw,3.5rem);overflow-wrap:anywhere;margin:.25rem 0 .7rem}
.tf-search-page__intro .tf-search,.tf-search--page{max-width:34rem}
.tf-search--page .tf-search__panel{inset-inline-start:0;inset-inline-end:auto;width:100%}
.tf-search-page__empty{padding:1.4rem;background:var(--tf-cream);border-radius:var(--tf-radius)}
.tf-home{padding-block:2.5rem 3rem}
.tf-home-intro{margin-block-end:1.55rem}
.tf-home-intro .tf-eyebrow{margin-bottom:.55rem}
.tf-home-intro h1{font-size:clamp(2.08rem,4.25vw,3.2rem);font-weight:790}
.tf-home-description{margin:.35rem 0 0;font-size:clamp(1rem,1.5vw,1.2rem);color:var(--tf-muted)}
.tf-spotlight{position:relative;isolation:isolate;overflow:hidden;border-radius:18px;background:var(--tf-forest);color:#f8fcf2;margin-block-end:2.1rem}
.tf-spotlight__slide{display:grid;grid-template-columns:43% minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:22.2rem;align-items:stretch;padding:.8rem;gap:.35rem}
.tf-spotlight__copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;min-block-size:0;padding:.72rem 1.5rem 3.8rem}
.tf-spotlight__badge{flex:none;background:var(--tf-lime);color:#1b3228;border-radius:100px;padding:.25rem .65rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;font-size:.73rem;margin-bottom:.75rem}
.tf-spotlight__title{font-size:clamp(1.85rem,3.3vw,2.75rem);color:#fdfff8;line-height:1.12;flex:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.tf-spotlight__title>a{color:inherit;text-decoration:none}
.tf-spotlight__title>a:is(:hover,:focus-visible){color:var(--tf-lime)}
.tf-spotlight__media:focus-visible{outline-offset:-4px}
.tf-spotlight__excerpt{flex:none;margin:.55rem 0;color:#d8e7dc;max-width:34ch;font-size:clamp(.95rem,1.45vw,1.2rem);line-height:1.43;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.tf-spotlight__link{flex:none;display:inline-flex;align-items:center;gap:.56rem;color:#fff;text-decoration:none;font-weight:750;margin-top:.18rem;min-height:44px}
.tf-spotlight__link:hover{color:var(--tf-lime)}
.tf-spotlight__link svg{color:var(--tf-lime)}
.tf-spotlight :focus-visible{outline-color:var(--tf-lime)}
.tf-spotlight__media{position:relative;min-width:0;min-height:0;height:100%;overflow:hidden;border-radius:12px;background:linear-gradient(140deg,#5e876f,#214f45 60%,#133831)}
.tf-spotlight__media img{position:absolute;inset:0;display:block;height:100%;width:100%;object-fit:contain;object-position:center}
.tf-spotlight__controls{position:absolute;z-index:2;inset-block-end:.75rem;inset-inline-start:2.3rem;display:flex;align-items:center;gap:.4rem}
.tf-spotlight__controls button{display:grid;place-items:center;min-width:42px;min-height:42px;background:#173e36;color:#f8fff5;border:1px solid #628679;border-radius:10px;padding:0}
.tf-spotlight__controls button:hover{background:#245746}
.tf-spotlight__count{color:#d8e7dc;font-size:.9rem;font-variant-numeric:tabular-nums;min-width:2.3rem;text-align:center}
.tf-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.95rem}
.tf-feed-heading :is(h1,h2){font-size:clamp(1.65rem,3.7vw,2.25rem)}
.tf-topics{position:relative;color:var(--tf-forest);flex:none}
.tf-topics summary{display:flex;gap:.45rem;align-items:center;justify-content:center;min-height:44px;padding:.45rem .68rem;background:#e9f1e4;border:1px solid #cbdcc7;border-radius:100px;font-size:.9rem;font-weight:740;line-height:1.2;transition:background .16s,color .16s,border-color .16s}
.tf-topics summary span{white-space:nowrap}
.tf-topics summary,.tf-topics__panel a{touch-action:manipulation}
.tf-topics summary svg{width:16px;height:16px}
.tf-topics summary svg:last-child{width:14px;height:14px;transition:transform .16s}
.tf-topics summary:hover{background:#dcebd7;border-color:#9fbaa3}
.tf-topics[open] summary{background:var(--tf-forest);color:#fff;border-color:var(--tf-forest)}
.tf-topics[open] summary svg:last-child{transform:rotate(180deg)}
.tf-topics__panel{position:absolute;inset-block-start:calc(100% + .45rem);inset-inline-end:0;z-index:7;width:min(21rem,calc(100vw - 2 * var(--tf-gutter)));max-height:min(21rem,55vh);max-height:min(21rem,55dvh);overflow:auto;overscroll-behavior:contain;background:var(--tf-paper);border:1px solid #d4dfd0;border-radius:14px;padding:.68rem;box-shadow:0 14px 33px #173a2c26}
.tf-topics[open] .tf-topics__panel{animation:tf-reveal .17s ease-out}
.tf-topics__label{margin:.08rem .37rem .48rem;color:#4b6256;font-size:.73rem;line-height:1.3;font-weight:750;letter-spacing:.085em;text-transform:uppercase}
.tf-topics__panel ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.33rem;margin:0;padding:0;list-style:none}
.tf-topics__panel a{display:flex;align-items:center;gap:.42rem;min-height:44px;padding:.36rem .43rem;border:1px solid transparent;border-radius:8px;color:var(--tf-forest);background:#f0f5ed;text-decoration:none;font-size:.89rem;font-weight:690;line-height:1.2;overflow-wrap:anywhere;transition:background .16s,border-color .16s}
.tf-topics__panel a:is(:hover,:focus-visible){background:#e1efdf;border-color:#9fbba4}
.tf-topics__panel a:focus-visible{outline-offset:-2px}
.tf-topics__icon{display:grid;flex:none;place-items:center;width:1.6rem;height:1.6rem;border-radius:6px;background:#dcead8;color:#185b48}
.tf-topics__icon svg{width:15px;height:15px}
.tf-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.8rem,2vw,1.5rem)}
.tf-card{min-width:0;background:var(--tf-paper);border:1px solid var(--tf-rule);border-radius:var(--tf-radius);transition:box-shadow .16s ease,border-color .16s ease}
.tf-card:hover,.tf-card:focus-within{border-color:#a8c8b3;box-shadow:0 5px 18px #183c2912}
.tf-card__link{display:block;padding:.66rem;height:100%;text-decoration:none;color:var(--tf-ink);border-radius:inherit}
.tf-card__image{width:100%;aspect-ratio:16/9;display:block;object-fit:contain;border-radius:9px;background:var(--tf-cream)}
.tf-card__image--placeholder{background:linear-gradient(135deg,#e4ebdb,#d5e3d2)}
.tf-card__body{display:grid;gap:.38rem;padding:.66rem .28rem .45rem}
.tf-card__labels{display:flex;flex-wrap:wrap;align-items:center;gap:.28rem .55rem}
.tf-card__badge{color:var(--tf-forest);background:var(--tf-moss);padding:.04rem .45rem;font-size:.69rem;font-weight:750;border-radius:99rem}
.tf-card__title{font-size:clamp(1.22rem,2.05vw,1.55rem);overflow-wrap:anywhere}
.tf-card__meta{font-size:.86rem;color:var(--tf-muted)}
.tf-pagination{margin-block-start:1.55rem}
.tf-pagination .nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.tf-pagination .page-numbers{display:grid;place-items:center;min-width:44px;min-height:44px;padding:.27rem .6rem;color:var(--tf-ink);background:var(--tf-paper);text-decoration:none;border:1px solid var(--tf-rule);border-radius:9px;font-weight:700;line-height:1.2}
.tf-pagination .current{background:var(--tf-green);color:#fff;border-color:var(--tf-green)}
.tf-pagination a:hover{background:var(--tf-cream);color:var(--tf-green)}
.tf-pagination .dots{border:0;min-width:1.4rem;padding:0}
.tf-footer{border-top:1px solid var(--tf-rule);background:var(--tf-cream);margin-block-start:1.3rem}
.tf-footer__inner{padding-block:1.55rem;display:flex;justify-content:space-between;align-items:center;gap:1.05rem}
.tf-footer__inner p{margin:.45rem 0 0;font-size:.87rem;color:var(--tf-muted)}
.tf-brand--footer img{width:7.5rem}
.tf-footer__links{flex-wrap:wrap;gap:.75rem 1.2rem}
.tf-footer__links a{font-size:.89rem;text-decoration:none;color:var(--tf-muted)}
.tf-footer__links a:hover{color:var(--tf-green)}
.tf-to-top{position:fixed;inset-inline-end:clamp(1rem,3vw,2.25rem);inset-block-end:max(1rem,env(safe-area-inset-bottom));display:grid;place-items:center;z-index:50;width:46px;height:46px;color:var(--tf-green);border:1px solid var(--tf-rule);background:var(--tf-paper);box-shadow:var(--tf-shadow);border-radius:12px;text-decoration:none}
.tf-to-top:hover{background:var(--tf-moss)}
@keyframes tf-reveal{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
.tf-article{padding-block:1.65rem 4rem}
.tf-breadcrumbs{margin-block-end:1.25rem;color:var(--tf-muted);font-size:.9rem}
.tf-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem;margin:0;padding:0;list-style:none}
.tf-breadcrumbs li{min-inline-size:0;overflow-wrap:anywhere}
.tf-breadcrumbs__separator{color:#607368;margin-inline-start:.5rem}
.tf-breadcrumbs a{color:var(--tf-muted);text-decoration:none}
.tf-breadcrumbs a:hover{color:var(--tf-green)}
.tf-article__header{margin-block-end:1.35rem}
.tf-article__eyebrow{margin:0 0 .58rem}
.tf-article__title{font-size:clamp(2.2rem,5.2vw,3.9rem);font-weight:800;max-width:28ch;overflow-wrap:anywhere}
.tf-article__deck{font-size:clamp(1.04rem,2vw,1.38rem);line-height:1.45;color:var(--tf-muted);margin:.75rem 0}
.tf-article__meta{display:flex;flex-wrap:wrap;gap:.35rem .72rem;color:var(--tf-muted);font-size:.92rem;margin:.75rem 0 0}
.tf-article__meta>*+*::before{content:"•";margin-inline-end:.72rem}
/* Keep the desktop rail bounded by the story, not by the page or footer. */
.tf-article{--tf-reading-inset:calc(var(--tf-header-offset) + .5rem)}
.admin-bar .tf-article{--tf-reading-inset:calc(var(--tf-header-offset) + 2.5rem)}
.tf-article__layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(15rem,3fr);column-gap:clamp(1.4rem,3vw,2.75rem);align-items:start}
.tf-article__column{min-width:0}
.tf-article__hero{min-width:0;margin:0 0 1.22rem}
.tf-article__hero img{display:block;width:100%;height:auto;object-fit:contain;border-radius:12px}
.tf-article__hero figcaption,.tf-prose figcaption{color:var(--tf-muted);font-size:.87rem;line-height:1.5;margin-top:.6rem}
.tf-article__body,.tf-contents,.tf-related{min-width:0}
.tf-article__body :is(h2,h3)[id]{scroll-margin-block-start:var(--tf-reading-inset)}
.tf-article__rail{display:grid;gap:1rem;min-width:0}
@media (min-width:961px) and (min-height:370px){
 .tf-article__rail{position:sticky;inset-block-start:var(--tf-reading-inset);max-block-size:calc(100vh - var(--tf-reading-inset) - 1rem);max-block-size:calc(100dvh - var(--tf-reading-inset) - 1rem);overflow:auto;scroll-padding-block:.5rem;scrollbar-width:thin;align-content:start}
 .tf-article__rail .tf-contents__list{max-block-size:clamp(5rem,calc((100dvh - var(--tf-reading-inset)) * .43),23rem);overflow:auto;scrollbar-width:thin}
}
.tf-article__layout--no-rail{grid-template-columns:minmax(0,1fr)}
.tf-article__layout--no-rail .tf-article__hero{width:min(100%,64rem)}
.tf-related{padding:1rem 1.3rem;border:1px solid var(--tf-rule);border-radius:var(--tf-radius)}
.tf-related__title{font:.82rem/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.11em;font-weight:750;text-transform:uppercase;color:var(--tf-green)}
.tf-related__list{list-style:none;margin:.52rem 0 0;padding:0}
.tf-related__link{color:var(--tf-ink);font-weight:700;text-decoration:none;overflow-wrap:anywhere;padding:.44rem 0}
.tf-related__link:hover{color:var(--tf-green)}
.tf-contents{background:var(--tf-paper);border:1px solid #d2dfd1;border-radius:16px;box-shadow:0 5px 18px #1940340b}
.tf-contents__title{display:grid;grid-template-columns:2.3rem minmax(0,1fr) 2rem;align-items:center;gap:.65rem;min-height:62px;padding:.62rem .72rem;border-radius:15px;background:#eef3e9;color:var(--tf-forest)}
.tf-contents__disclosure[open]>.tf-contents__title{border-radius:15px 15px 0 0;box-shadow:0 1px 0 #dbe6d8}
.tf-contents__title::before,.tf-contents__title::after{display:none;content:none}
.tf-contents__title::marker{content:""}
.tf-contents__title:focus-visible{outline-offset:-3px}
.tf-contents__mark,.tf-contents__toggle{display:grid;place-items:center}
.tf-contents__mark{width:2.3rem;height:2.3rem;border-radius:9px;background:var(--tf-forest);color:var(--tf-lime)}
.tf-contents__mark svg{width:19px;height:19px}
.tf-contents__heading{display:grid;gap:.15rem}
.tf-contents__label{font-size:1rem;line-height:1.15;font-weight:780;letter-spacing:-.015em}
.tf-contents__count{font-size:.73rem;line-height:1.2;font-weight:650;color:var(--tf-muted)}
.tf-contents__toggle{width:2rem;height:2rem;border:1px solid #d4e1d3;border-radius:7px;background:var(--tf-paper);color:var(--tf-green)}
.tf-contents__toggle svg{display:block;width:16px;height:16px}
.tf-contents__disclosure[open] .tf-contents__plus-stroke{display:none}
.tf-contents__list{list-style:none;margin:.2rem .45rem .4rem;padding:.2rem 0 .06rem;scroll-padding-block:.25rem}
.tf-contents__list li+li{border-top:1px solid #edf0e8}
.tf-contents__list a{display:grid;grid-template-columns:1.7rem minmax(0,1fr) .5rem;align-items:center;gap:.55rem;min-height:40px;padding:.37rem .42rem;border-radius:7px;color:var(--tf-ink);text-decoration:none;font-size:.86rem;font-weight:650;line-height:1.32;overflow-wrap:anywhere;transition:background-color .18s ease,color .18s ease}
.tf-contents__list a::after{content:"";width:.34rem;height:.34rem;border:solid #507466;border-width:0 1.4px 1.4px 0;transform:rotate(-45deg)}
.tf-contents__number{display:grid;place-items:center;width:1.7rem;height:1.55rem;border-radius:5px;background:#e8f1e6;color:#275b4a;font-size:.69rem;font-weight:750;font-variant-numeric:tabular-nums}
.tf-contents__list a:hover{background:#eef4e9;color:var(--tf-green)}
.tf-contents__list a[aria-current=location]{background:#deeddf;color:var(--tf-forest);box-shadow:inset 2px 0 var(--tf-green)}
.tf-contents__list a[aria-current=location] .tf-contents__number{background:var(--tf-forest);color:#fff}
.tf-contents__list a:focus-visible{outline-offset:-2px}
.tf-contents__level-3{padding-inline-start:.6rem}
.tf-contents__level-3 a{font-size:.82rem}
.tf-related__item+.tf-related__item{border-top:1px solid var(--tf-rule)}
.tf-related__link{display:flex;align-items:center;gap:.75rem}
.tf-related__image{width:3.6rem;height:2.7rem;object-fit:cover;border-radius:6px;flex:none}
.tf-prose{font-size:clamp(1.05rem,1.45vw,1.2rem);line-height:1.72;overflow-wrap:anywhere}
.tf-prose>*{max-width:48rem;margin-inline-start:0;margin-inline-end:auto}
.tf-prose>:is(p,ul,ol,blockquote,dl,pre){margin-block:0 1.12rem}
.tf-prose :is(h2,h3,h4){margin-block:1.65em .45em;line-height:1.16;text-wrap:balance}
.tf-prose h2{font-size:clamp(1.68rem,2.7vw,2.25rem)}
.tf-prose h3{font-size:clamp(1.3rem,2vw,1.6rem)}
.tf-prose h4{font-size:1.1em}
.tf-prose :is(.wp-block-image,.wp-block-gallery,.wp-block-table,.wp-block-embed,.alignwide,.alignfull){max-width:100%;margin-block:1.2rem 1.5rem}
.tf-prose img{height:auto;border-radius:8px}
.tf-prose table{border-collapse:collapse;width:100%;text-align:start;font-size:.93em}
.tf-prose :is(td,th){border:1px solid var(--tf-rule);padding:.48rem .6rem;vertical-align:top;text-align:start}
.tf-prose th{background:var(--tf-cream)}
.tf-prose .wp-block-table,.tf-prose pre{overflow:auto;max-inline-size:100%}
.tf-prose pre,.tf-prose blockquote,.tf-prose .wp-block-code{background:var(--tf-cream);border-radius:9px;padding:.75rem 1rem}
.tf-prose blockquote{border-inline-start:3px solid var(--tf-green)}
.tf-prose :is(iframe,video){max-inline-size:100%}
.tf-prose .wp-block-embed iframe{width:100%;height:auto;aspect-ratio:16/9}
.tf-prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:.5rem}
.tf-article__pages,.tf-comments{margin-block-start:1.8rem}
.tf-comments{max-width:48rem}
.tf-comments__list{padding-inline-start:1rem}
.tf-comments :is(textarea,input:not([type=submit])){max-width:100%;border:1px solid var(--tf-rule);border-radius:8px;padding:.6rem;background:var(--tf-paper);color:var(--tf-ink)}
.tf-comments textarea{display:block;width:100%}
.tf-comments input[type=submit]{padding:.55rem .9rem;border:0;border-radius:8px;color:#fff;background:var(--tf-green)}
@media (max-width:1120px){.tf-header__bar{gap:1.3rem}.tf-nav__list{gap:.9rem}}
@media (max-width:960px){
 :root{--tf-header-offset:8rem}
 .tf-header__bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;min-height:4.12rem;row-gap:0;column-gap:.44rem}
 .tf-header__brand{grid-column:1;grid-row:1}
 .tf-nav--desktop{display:none}
 .tf-header__bar{min-height:4rem;column-gap:.5rem}
 .tf-header__brand .tf-brand img{transform:none}
 .tf-mobile-menu{display:block;grid-column:3;grid-row:1}
 .tf-mobile-menu__toggle,.tf-search-toggle{display:grid;place-items:center;min-width:44px;height:44px;margin:0;padding:0;color:var(--tf-green);border:1px solid var(--tf-rule);border-radius:12px;background:var(--tf-paper)}
 .tf-mobile-menu__toggle{display:flex;justify-content:center;gap:.4rem;padding-inline:.65rem;background:var(--tf-forest);color:#fff;border-color:var(--tf-forest);font-weight:740;font-size:.83rem}
 .tf-mobile-menu__icon{display:grid;place-items:center}
 .tf-mobile-menu__icon svg{width:17px;height:17px}
 .tf-mobile-menu__icon svg:last-child,.tf-mobile-menu[open] .tf-mobile-menu__icon svg:first-child{display:none}
 .tf-mobile-menu[open] .tf-mobile-menu__icon svg:last-child{display:block}
 .tf-mobile-menu[open]>.tf-mobile-menu__toggle{background:var(--tf-moss);border-color:#99b6a5;color:var(--tf-forest)}
 .tf-search-toggle[aria-expanded=true]{background:var(--tf-moss);border-color:var(--tf-green)}
 .tf-mobile-menu__panel{position:absolute;inset-inline-end:0;inset-block-start:calc(100% - .15rem);width:min(29rem,100%);max-height:65vh;max-height:65dvh;overflow:auto;overscroll-behavior:contain;z-index:9;padding:.72rem;background:var(--tf-paper);border:1px solid #cddad0;border-radius:17px;box-shadow:0 16px 44px #142f2533}
 .tf-mobile-menu[open] .tf-mobile-menu__panel{animation:tf-reveal .17s ease-out}
 .tf-mobile-menu__eyebrow{margin:0 0 .55rem;padding:.48rem .55rem .52rem;color:var(--tf-green);border-bottom:1px solid var(--tf-rule);font-size:.73rem;line-height:1.3;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
 .tf-mobile-menu__panel .tf-nav__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.5rem}
 .tf-mobile-menu__panel .sub-menu{margin:.25rem 0 0 .45rem;padding:0 .2rem 0 .5rem;border-inline-start:1px solid var(--tf-rule)}
 .tf-mobile-menu__panel li a{display:flex;align-items:center;justify-content:space-between;gap:.35rem;min-height:46px;padding:.5rem .6rem;white-space:normal;overflow-wrap:anywhere;background:#f3f5ed;border:1px solid #e3e9dd;border-radius:10px;line-height:1.2;font-size:.91rem}
 .tf-mobile-menu__panel .tf-nav__list li a::after{position:static;flex:none;width:.37rem;height:.37rem;transform:rotate(-45deg);background:none;border:solid currentColor;border-width:0 1.5px 1.5px 0;border-radius:0;content:""}
 .tf-mobile-menu__panel li a:is(:hover,:focus-visible){background:#e3efe1;border-color:#bacfbd}
 .tf-mobile-menu__panel a[aria-current=page],.tf-mobile-menu__panel :is(.current-menu-item,.current-menu-ancestor,.current-menu-parent)>a{background:var(--tf-forest);border-color:var(--tf-forest);color:#fff}
 .tf-mobile-menu__panel li a:focus-visible{outline-offset:-3px}
 .tf-mobile-menu__panel li a[aria-current=page]:focus-visible{outline-color:#fff}
 .tf-search-toggle{grid-column:2;grid-row:1}
 .tf-header__search{grid-column:1/-1;grid-row:2;padding-block:0 .62rem}
 .tf-mobile-ready:not(.tf-search-open) .tf-header__search{display:none}
 .tf-header__search .tf-search__panel{width:100%}
 .tf-mobile-topics{display:block;position:relative;background:#f6f7f0;white-space:nowrap;border-top:1px solid var(--tf-rule)}
 .tf-mobile-topics>.tf-container{overflow:auto;scrollbar-width:none;overscroll-behavior-inline:contain;scroll-padding-inline:var(--tf-gutter)}
 .tf-mobile-topics>.tf-container::-webkit-scrollbar{display:none}
 .tf-mobile-topics[data-more]::after{position:absolute;inset:0 0 0 auto;width:var(--tf-gutter);background:linear-gradient(90deg,transparent,#f6f7f0 85%);pointer-events:none;content:""}
 .tf-mobile-topics .tf-nav__list{width:max-content;min-width:100%;gap:.38rem;padding:.23rem 0}
 .tf-mobile-topics .tf-nav__list a{display:grid;place-items:center;min-height:44px;padding:.35rem .71rem;border:1px solid transparent;border-radius:100px;font-size:.84rem;font-weight:730}
 .tf-mobile-topics .tf-nav__list a:focus-visible{outline-offset:-2px}
 .tf-mobile-topics .tf-nav__list a:hover{background:#e6eee1}
 .tf-mobile-topics .tf-nav__list a[aria-current=page],.tf-mobile-topics .tf-nav__list :is(.current-menu-item,.current-menu-ancestor,.current-menu-parent)>a{background:#dfeee0;border-color:#c0d6c3;color:#125643}
 .tf-mobile-topics .tf-nav__list li a::after,.tf-mobile-topics .sub-menu{display:none}
 .tf-feed-heading{--tf-topic-button:8.25rem;display:grid;position:relative;grid-template-columns:minmax(0,1fr) var(--tf-topic-button);gap:0 .5rem;align-items:center;min-height:44px}
 .tf-feed-heading :is(h1,h2){grid-column:1;grid-row:1}
 .tf-topics{position:static;grid-column:2;grid-row:1}
 .tf-topics summary{inline-size:var(--tf-topic-button);min-height:44px;padding:.4rem .58rem;border-radius:10px;font-size:.85rem;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .tf-topics summary svg{flex:none}
 .tf-topics[open]{grid-column:1/-1;grid-row:2}
 .tf-topics[open] summary{position:absolute;inset-block-start:0;inset-inline-end:0}
 .tf-feed-heading:has(.tf-topics[open]){grid-template-rows:minmax(44px,auto) auto}
 .tf-feed-heading:has(.tf-topics[open]) h2{padding-inline-end:calc(var(--tf-topic-button) + .5rem);grid-column:1/-1}
 .tf-topics__panel{position:static;width:auto;margin-top:.5rem;padding:.65rem;max-height:none;overflow:visible;background:#f6f7f0;border-color:#d9e2d4;border-radius:14px;box-shadow:none}
 .tf-topics__label{margin:.12rem .29rem .58rem}
 .tf-topics__panel ul{gap:.42rem}
 .tf-topics__panel a{gap:.5rem;min-height:48px;padding:.36rem .48rem;background:var(--tf-paper);border-color:#e0e8dc;border-radius:9px;font-size:.89rem}
 .tf-topics__icon{width:1.72rem;height:1.72rem;border-radius:7px}
 .tf-article__layout{display:flex;flex-direction:column;align-items:stretch;gap:1rem}
 .tf-article__column,.tf-article__rail{display:contents}
 .tf-article__hero{order:0;margin:0}
 .tf-contents{order:1}
 .tf-article__body{order:2}
 .tf-related{order:3}

 .tf-contents__list a{min-height:44px;font-size:.94rem}
 .tf-contents__level-3 a{font-size:.89rem}
 .tf-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tf-spotlight__slide{grid-template-columns:48% minmax(0,1fr)}
}
@media (max-width:782px){.admin-bar .tf-header{inset-block-start:46px}}
@media (max-width:700px){
 .tf-home,.tf-article,.tf-search-page,.tf-archive{padding-block-start:1.45rem}
 .tf-home-intro{margin-block-end:1.15rem}
 .tf-home-intro h1{max-width:15ch;line-height:1.07}
 .tf-spotlight{border-radius:14px;margin-block-end:1.55rem}
 /* Let the tallest text set the shared frame without painting inactive slides or loading their images. */
 .tf-spotlight__slides{display:grid}
 .tf-spotlight__slide{grid-area:1/1;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;height:auto;min-height:0;gap:0;padding:.6rem}
 .tf-spotlight__slide[hidden]{display:grid!important;visibility:hidden;pointer-events:none}
 .tf-spotlight__slide[hidden] .tf-spotlight__media img{display:none}
 .tf-spotlight__media{grid-row:1;inline-size:100%;block-size:auto;aspect-ratio:16/9}
 .tf-spotlight__copy{grid-row:2;padding:.85rem .42rem 3.85rem;min-block-size:16rem;justify-content:flex-start}
 .tf-spotlight__title{font-size:clamp(1.55rem,7vw,2.6rem);display:block;overflow:visible;-webkit-line-clamp:unset}
 .tf-spotlight__excerpt{min-height:2.8em;margin:.56rem 0 .1rem}
 .tf-spotlight__badge{margin-bottom:.55rem}
 .tf-spotlight__link{font-size:.93rem}
 .tf-spotlight__controls{inset-inline-start:1rem;inset-block-end:.65rem}
 .tf-card-grid{grid-template-columns:minmax(0,1fr);gap:.58rem}
 .tf-card__link{display:grid;grid-template-columns:clamp(5.3rem,25vw,8rem) minmax(0,1fr);gap:.65rem;padding:.48rem;align-items:center}
 .tf-card__body{padding:.25rem 0;gap:.2rem}
 .tf-card__title{font-size:clamp(1.06rem,4.35vw,1.35rem);line-height:1.22}
 .tf-card__category{font-size:.65rem}
 .tf-card__meta{font-size:.76rem}
 .tf-footer__inner{align-items:flex-start;flex-direction:column}
 .tf-article__title{font-size:clamp(2rem,8vw,3.5rem);letter-spacing:-.033em}
 .tf-article__deck{margin:.6rem 0}
 .tf-breadcrumbs{font-size:.8rem;margin-bottom:1rem}
 .tf-related{padding:.65rem .85rem}
 .tf-search__panel{max-height:min(25rem,48vh)}
}
@media (max-width:360px){.tf-feed-heading h2{font-size:1.45rem}}
@media (max-width:600px){.admin-bar .tf-header{inset-block-start:0}}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Article sharing: wrap visible text labels at narrow widths. */
.tf-prose .tf-article-share {
  margin-block: 2.25rem 0;
  padding-block-start: 1.25rem;
  border-top: 1px solid var(--tf-rule);
}
.tf-prose .tf-article-share__title {
  margin: 0 0 .65rem;
  color: var(--tf-ink);
  font-size: 1rem;
  font-weight: 750;
}
.tf-prose .tf-article-share :is(.tf-article-share__links, .jetpack-sharing-buttons__services-list) {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf-prose .tf-article-share li { margin: 0; padding: 0; }
.tf-prose .tf-article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  min-block-size: 44px;
  padding: .375rem .85rem;
  border: 1px solid var(--tf-rule);
  border-radius: .625rem;
  background: transparent;
  color: var(--tf-ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.tf-prose .tf-article-share a:hover,
.tf-prose .tf-article-share a:focus-visible {
  border-color: currentColor;
  color: var(--tf-green);
  text-decoration: none;
}
