/* Truviss blog layout. Tokens from TRUVISS-DESIGN.md. Fonts (Clash Display, Satoshi) are loaded sitewide by the global CSS. */
.tv-layout,.tv-archive{--tv-blue:#007AFE;--tv-blue-600:#006FE7;--tv-link:#006FE7;--tv-blue-50:#E6F2FF;--tv-blue-800:#00438C;--tv-blue-900:#00336B;--tv-ink:#121212;--tv-muted:#757575;--tv-line:#EEEEEE;--tv-alt:#F9FAFC;--tv-r:6px;--tv-body:'Satoshi',system-ui,sans-serif;--tv-display:'Clash Display','Satoshi',system-ui,sans-serif}
.tv-post{max-width:1080px;margin:0 auto;padding:24px 20px 64px;font-family:var(--tv-body);color:var(--tv-ink);display:grid;grid-template-columns:minmax(0,1fr);column-gap:56px}
.tv-post>*{min-width:0}
.tv-post-head,.tv-post-cover,.tv-tldr,.tv-related{grid-column:1/-1}
.tv-post-head{max-width:760px}
.tv-breadcrumb{font-size:13px;color:var(--tv-muted);margin:0 0 14px}
.tv-breadcrumb a{color:var(--tv-muted);text-decoration:none}
.tv-breadcrumb a:hover{color:var(--tv-blue)}
.tv-breadcrumb span{margin:0 6px;color:#767676}
.tv-breadcrumb span[aria-current]{margin:0;color:#555}
.tv-post-title{font-family:var(--tv-display);font-weight:600;font-size:32px;line-height:1.18;margin:0 0 16px;letter-spacing:-.01em}
.tv-post-meta{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;font-size:14px;color:var(--tv-muted);margin:0 0 24px}
.tv-meta-author{display:inline-flex;align-items:center;gap:8px;color:var(--tv-ink);font-weight:500}
.tv-ini{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--tv-blue-50);color:var(--tv-blue-800);font-size:11px;font-weight:600}
.tv-ini--lg{width:56px;height:56px;font-size:16px;flex-shrink:0}
.tv-post-cover{width:100%;max-width:760px;margin:0 0 28px;border-radius:var(--tv-r);overflow:hidden;aspect-ratio:1200/630;background:var(--tv-alt)}
.tv-post-cover img{width:100%;height:100%;object-fit:cover;display:block}
.tv-tldr{background:var(--tv-blue-50);border-radius:var(--tv-r);padding:20px 22px;margin:0 0 28px;max-width:760px}
.tv-tldr b{display:block;font-family:var(--tv-display);font-size:16px;margin:0 0 8px}
.tv-tldr ul{margin:0;padding-left:20px}
.tv-tldr li{font-size:15px;line-height:1.55;margin:0 0 6px}
.tv-tldr li:last-child{margin:0}
.tv-toc-rail{margin:0 0 28px}
.tv-toc{background:var(--tv-alt);border:1px solid var(--tv-line);border-radius:var(--tv-r);padding:14px 18px}
.tv-toc summary{font-family:var(--tv-display);font-weight:600;font-size:15px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.tv-toc summary::-webkit-details-marker{display:none}
.tv-toc summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--tv-muted);border-bottom:2px solid var(--tv-muted);transform:rotate(45deg);transition:transform .2s}
.tv-toc[open] summary::after{transform:rotate(-135deg)}
.tv-toc ol{list-style:none;margin:12px 0 0;padding:0}
.tv-toc li{margin:0 0 8px;font-size:14px;line-height:1.4}
.tv-toc a{color:#444;text-decoration:none;font-weight:500}
.tv-toc a:hover,.tv-toc a.active{color:var(--tv-link)}
.tv-toc a.active{font-weight:700}
.tv-post-body{font-size:17px;line-height:1.7;color:#2b2b2b;max-width:680px}
.tv-post-body [id]{scroll-margin-top:96px}
.tv-post-body h2{font-family:var(--tv-display);font-weight:600;font-size:26px;line-height:1.25;margin:44px 0 14px;color:var(--tv-ink)}
.tv-post-body h3{font-family:var(--tv-display);font-weight:600;font-size:20px;line-height:1.3;margin:30px 0 10px;color:var(--tv-ink)}
.tv-post-body p{margin:0 0 18px}
.tv-post-body ul,.tv-post-body ol{margin:0 0 18px;padding-left:24px}
.tv-post-body li{margin:0 0 8px}
.tv-post-body a{color:var(--tv-link);font-weight:600;text-decoration:none}
.tv-post-body a:hover{text-decoration:underline}
.tv-post-body img{max-width:100%;height:auto;border-radius:var(--tv-r)}
.tv-post-body blockquote{margin:24px 0;padding:4px 0 4px 20px;border-left:3px solid var(--tv-blue);color:#444}
.tv-post-body table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:15px;display:block;overflow-x:auto}
.tv-post-body th,.tv-post-body td{border:1px solid var(--tv-line);padding:10px 12px;text-align:left;vertical-align:top}
.tv-post-body th{background:var(--tv-alt);font-weight:600}
.tv-sources,.tv-faq{margin-top:44px}
.tv-sources ol{padding-left:22px;font-size:14px;line-height:1.5}
.tv-sources li span{color:var(--tv-muted);margin-left:6px}
.tv-qa{border-bottom:1px solid var(--tv-line);padding:14px 0}
.tv-qa summary{font-weight:600;font-size:17px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.tv-qa summary::-webkit-details-marker{display:none}
.tv-qa summary::after{content:"+";color:var(--tv-blue);font-size:22px;line-height:1}
.tv-qa[open] summary::after{content:"\2212"}
.tv-qa div{padding-top:10px;font-size:16px}
.tv-cta{background:linear-gradient(135deg,var(--tv-blue-600) 0%,var(--tv-blue-900) 100%);color:#fff;border-radius:var(--tv-r);padding:28px;margin:36px 0}
.tv-cta h3{font-family:var(--tv-display);font-size:20px;margin:0 0 8px;color:#fff}
.tv-cta p{margin:0 0 18px;color:rgba(255,255,255,.92);font-size:16px}
.tv-post-body .tv-cta a.tv-btn{display:inline-block;background:#fff;color:var(--tv-link);font-weight:600;padding:12px 24px;border-radius:var(--tv-r);text-decoration:none}
.tv-post-body .tv-cta a.tv-btn:hover{background:var(--tv-blue-50);text-decoration:none}
.tv-author-box{display:flex;gap:16px;align-items:flex-start;background:var(--tv-alt);border:1px solid var(--tv-line);border-radius:var(--tv-r);padding:22px;margin:36px 0 0}
.tv-author-label{display:block;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#6B6B6B;margin-bottom:4px}
.tv-author-box b{display:block;font-family:var(--tv-display);font-size:17px;margin-bottom:6px}
.tv-author-box p{margin:0;font-size:14px;line-height:1.6;color:#555}
.tv-related{margin-top:56px;padding-top:32px;border-top:1px solid var(--tv-line)}
.tv-related h2{font-family:var(--tv-display);font-size:24px;margin:0 0 20px}
.tv-grid{display:grid;grid-template-columns:1fr;gap:20px}
.tv-card{display:block;border:1px solid var(--tv-line);border-radius:var(--tv-r);overflow:hidden;color:inherit;text-decoration:none;background:#fff}
.tv-card:hover{border-color:var(--tv-blue)}
.tv-card img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;display:block}
.tv-card-body{padding:16px}
.tv-card h3{font-family:var(--tv-display);font-size:17px;line-height:1.3;margin:0 0 8px;color:var(--tv-ink)}
.tv-card p{margin:0;font-size:14px;line-height:1.5;color:var(--tv-muted)}
@media(min-width:720px){.tv-post-title{font-size:40px}.tv-post-cover{max-height:none}.tv-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){
  /* one content width for title, cover, TL;DR and body; the TL;DR padding is inside its width */
  .tv-post-head,.tv-tldr,.tv-post-cover,.tv-post-body{max-width:720px}
  .tv-tldr{box-sizing:border-box}
  .tv-post--toc .tv-post-main{display:grid;grid-template-columns:minmax(0,1fr) 240px;column-gap:40px;align-items:start}
  .tv-post--toc .tv-toc-rail{grid-column:2;grid-row:1;position:sticky;top:96px;margin:0;max-height:calc(100vh - 120px);overflow-y:auto}
  .tv-post--toc .tv-post-body{grid-column:1;grid-row:1;max-width:none}
  /* 1024-1079px: the article is narrower than 1040px, so the text column is what is left after the rail */
  .tv-post--toc .tv-post-head,.tv-post--toc .tv-tldr,.tv-post--toc .tv-post-cover{max-width:calc(100% - 280px)}
}
@media(min-width:1080px){
  .tv-post--toc .tv-post-main{grid-template-columns:minmax(0,720px) 264px;column-gap:56px}
  .tv-post--toc .tv-post-head,.tv-post--toc .tv-tldr,.tv-post--toc .tv-post-cover{max-width:720px}
}
@media(max-width:1023px){.tv-post-body{font-size:17px}}
/* Twenty Twenty-Five single template leftovers that have no block of their own to filter: static "Written by / in" row,
   empty post-navigation wrapper and the "More posts" heading. Re-check after any theme update (phase 8 visual check). */
.tv-layout main>.wp-block-group>.wp-block-group.has-small-font-size:first-child,
.tv-layout main>.wp-block-group>.wp-block-group.is-layout-flow:not(.entry-content),
.tv-layout main>.wp-block-group.alignwide:last-child{display:none}
.tv-layout main,.tv-layout main>.wp-block-group{margin-top:0!important;padding-top:0!important;padding-bottom:0!important}
.tv-stat{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;background:var(--tv-blue-50);border-radius:var(--tv-r);padding:18px 20px;margin:24px 0}
.tv-stat strong{font-family:var(--tv-display);font-size:32px;line-height:1;color:var(--tv-blue-800)}
.tv-stat span{font-size:16px;flex:1 1 220px}
.tv-stat em{flex-basis:100%;font-size:13px;color:#595959;font-style:normal}

/* Archive, category, tag, author */
.tv-archive-page{max-width:1080px;margin:0 auto;padding:24px 20px 72px;font-family:var(--tv-body);color:var(--tv-ink)}
.tv-archive-head{max-width:760px;margin:0 0 24px}
.tv-kicker{display:block;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--tv-link);margin:0 0 8px}
.tv-archive-head h1{font-family:var(--tv-display);font-weight:600;font-size:34px;line-height:1.15;margin:0 0 12px}
.tv-archive-desc{font-size:17px;line-height:1.6;color:#444;margin:0 0 8px}
.tv-archive-count{font-size:14px;color:var(--tv-muted);margin:0}
.tv-search{display:flex;gap:8px;max-width:420px;margin:0 0 20px}
.tv-search input[type=search]{flex:1;min-width:0;border:1px solid #D9D9D9;border-radius:var(--tv-r);padding:10px 12px;font:inherit;font-size:15px}
.tv-search button{background:var(--tv-blue-600);color:#fff;border:0;border-radius:var(--tv-r);padding:10px 16px;font:inherit;font-weight:600;cursor:pointer}
.tv-search button:hover{background:var(--tv-blue-800)}
.tv-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 4px 6px;margin:0 -4px 24px;scrollbar-width:none;position:sticky;top:0;background:#fff;z-index:2}
.tv-chips::-webkit-scrollbar{display:none}
.tv-chips a{flex:0 0 auto;border:1px solid var(--tv-line);border-radius:999px;padding:7px 14px;font-size:14px;font-weight:500;color:#333;text-decoration:none;background:#fff;white-space:nowrap}
.tv-chips a:hover{border-color:var(--tv-blue);color:var(--tv-link)}
.tv-chips a[aria-current=page]{background:var(--tv-blue-600);border-color:var(--tv-blue-600);color:#fff}
.tv-hero{margin:0 0 36px}
.tv-card-link{display:block;color:inherit;text-decoration:none;height:100%}
.tv-card-media{aspect-ratio:1200/630;background:var(--tv-alt);overflow:hidden}
.tv-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.tv-card-cat{display:block;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--tv-link);margin:0 0 6px}
.tv-card-meta{display:block;margin-top:12px;font-size:13px;color:var(--tv-muted)}
.tv-card--hero{border:1px solid var(--tv-line);border-radius:var(--tv-r);overflow:hidden}
.tv-card--hero .tv-card-link{display:grid;grid-template-columns:1fr}
.tv-card--hero .tv-card-body{padding:22px}
.tv-card--hero h2{font-family:var(--tv-display);font-size:26px;line-height:1.2;margin:0 0 10px;color:var(--tv-ink)}
.tv-card--hero p{font-size:16px;line-height:1.55;color:#555;margin:0}
.tv-grid--archive{margin:0 0 32px}
.tv-card{height:100%}
.tv-pager ul{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;margin:0 0 40px;padding:0}
.tv-pager a,.tv-pager span{display:inline-block;min-width:40px;text-align:center;padding:9px 12px;border:1px solid var(--tv-line);border-radius:var(--tv-r);font-size:15px;color:#333;text-decoration:none}
.tv-pager a:hover{border-color:var(--tv-blue);color:var(--tv-blue)}
.tv-pager .current{background:var(--tv-blue-600);border-color:var(--tv-blue-600);color:#fff}
.tv-archive-page .tv-cta{max-width:760px}
.tv-archive-page .tv-cta a.tv-btn{display:inline-block;background:#fff;color:var(--tv-link);font-weight:600;padding:12px 24px;border-radius:var(--tv-r);text-decoration:none}
.tv-empty{font-size:17px;color:var(--tv-muted)}
@media(min-width:720px){.tv-archive-head h1{font-size:42px}.tv-grid--archive{grid-template-columns:repeat(2,1fr)}.tv-card--hero .tv-card-link{grid-template-columns:1.2fr 1fr}.tv-card--hero .tv-card-body{padding:32px;align-self:center}.tv-card--hero h2{font-size:30px}}
@media(min-width:1024px){.tv-grid--archive{grid-template-columns:repeat(3,1fr)}}

.tv-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:32px 0 0}.tv-tags-label{font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--tv-muted);margin-right:4px}.tv-tag{display:inline-block;padding:6px 12px;border:1px solid var(--tv-line);border-radius:999px;font-size:13px;color:var(--tv-ink);text-decoration:none;background:#fff}.tv-tag:hover{border-color:var(--tv-blue);color:var(--tv-link)}
@media(min-width:720px){.tv-chips{flex-wrap:wrap;overflow:visible;position:static}}
.tv-author-img{display:block;flex:0 0 auto;text-decoration:none}.tv-author-box b a{color:inherit;text-decoration:none}.tv-author-box b a:hover,.tv-author-more:hover{color:var(--tv-link)}.tv-author-more{display:inline-block;margin-top:10px;font-size:14px;font-weight:600;color:var(--tv-link);text-decoration:none}
.tv-toc summary:focus:not(:focus-visible){outline:none}
@media(max-width:1023px){.tv-toc a.active{color:#444;font-weight:500}}
.tv-post-body :is(p,li,td,th,blockquote,figcaption) a:not(.tv-btn){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.tv-post-body :is(p,li,td,th,blockquote,figcaption) a:not(.tv-btn):hover{text-decoration-thickness:2px}
.tv-ini img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
