/* Guides, in the shared style from tv.css (loaded after this file; rules here carry .tv-page to win). */
/* Reading layout, shared with the FAQ page (tv-studio.css) and Privacy and Terms (tv-legal.css): a 260px index on the left,
   the same gap, and a 40rem text column that starts where the FAQ answers start. */
.tv-page{--tv-index:260px;--tv-index-gap:clamp(40px,6vw,96px);--tv-measure:40rem;--tv-read:var(--tv-ink)}
@media screen and (prefers-color-scheme:dark){.tv-page{--tv-read:#d4deed}}
.tv-page .article{display:grid;grid-template-columns:var(--tv-index) minmax(0,var(--tv-measure));column-gap:var(--tv-index-gap);justify-content:start;max-width:none;padding:clamp(32px,4vw,56px) var(--g) clamp(72px,8vw,120px)}
.tv-page .article>*{grid-column:1/-1;min-width:0;max-width:68ch}
.tv-page .article>h1{max-width:none}
.tv-page .article>.article-answer{max-width:52rem}
.tv-page .article>:is(.article-body,.article-sources,.article-more){grid-column:2;max-width:none}
.tv-page .article>.article-toc{grid-column:1;grid-row:5/span 3;max-width:none;align-self:start;position:sticky;top:32px}
.article-toc-title{margin:0 0 14px;font-size:1.3125rem;font-weight:600;line-height:1.3;letter-spacing:-.02em;color:var(--tv-ink)}
.article-toc ol{margin:0;padding:0;list-style:none;border-top:1px solid var(--tv-line)}
.article-toc li{margin:0;border-bottom:1px solid var(--tv-line)}
.tv-page .article-toc a{display:block;padding:13px 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--tv-ink);text-decoration:none}
.tv-page .article-toc a:hover{color:var(--tv-blue)}
.tv-page .article-body h2[id],.tv-page .article-sources,.tv-page .article-more{scroll-margin-top:32px}
.article-crumbs{font-size:.875rem;color:var(--tv-soft)}
.article-crumbs a{color:var(--tv-soft);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
.article-crumbs a:hover{color:var(--tv-blue)}
.crumb-sep{margin:0 .6em;font-size:.875rem;color:var(--tv-soft)}
.tv-page .article h1.article-title{font-size:clamp(2.5rem,5.4vw,4.75rem);line-height:1;letter-spacing:-.05em;max-width:17em;margin:clamp(28px,3.4vw,48px) 0 clamp(24px,2.6vw,36px)}
.tv-page .article-meta{max-width:var(--tv-measure);font-size:.875rem;line-height:1.6;color:var(--tv-soft);margin:0 0 clamp(36px,4vw,56px);padding-bottom:20px;border-bottom:1px solid var(--tv-line)}
.article-meta a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
.article-meta a:hover{color:var(--tv-blue)}
.tv-page .article-answer{font-size:clamp(1.375rem,2.1vw,1.875rem);line-height:1.38;font-weight:500;letter-spacing:-.025em;color:var(--tv-ink);max-width:36em;margin:0 0 clamp(40px,5vw,72px);padding:0;background:none;border:0;border-radius:0}
.tv-page .article-body{font-size:1.125rem;line-height:1.7;color:var(--tv-read)}
.tv-page .article-body h2{max-width:none;font-size:var(--tv-h2-reading);color:var(--tv-ink);font-weight:500;line-height:1.15;letter-spacing:-.035em;margin:2.2em 0 .6em}
.tv-page .article-body h2:first-child{margin-top:0}
.tv-page .article-body h3{font-size:1.375rem;font-weight:500;line-height:1.2;letter-spacing:-.02em;margin:2em 0 .6em}
.tv-page .article-body p,.tv-page .article-body li{font-size:1.125rem;line-height:1.7;color:var(--tv-read)}
.tv-page .article-body p{margin:0 0 1.1em}
.tv-page .article-body ul,.tv-page .article-body ol{margin:0 0 1.2em;padding:0;list-style:none}
.tv-page .article-body ol{counter-reset:art;}
.tv-page .article-body li{position:relative;margin:0 0 .5em;padding-left:24px}
.tv-page .article-body ul>li::before{content:"";position:absolute;left:2px;top:.62em;width:7px;height:7px;background:var(--tv-blue)}
.tv-page .article-body ol>li{counter-increment:art}
.tv-page .article-body ol>li::before{content:counter(art) ".";position:absolute;left:0;top:0;font-weight:700;font-size:.9375rem;line-height:inherit;color:var(--tv-blue)}
.tv-page .article-body ol>li{padding-left:30px}
.tv-page .article-body blockquote{margin:0 0 1.2em;padding:0 0 0 22px;border-left:1px solid var(--tv-line);font-style:normal;color:var(--tv-soft)}
.tv-page .article-body blockquote p{color:var(--tv-soft);margin:0 0 .3em}
.tv-page .article-body a{color:var(--tv-blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.tv-page .article-body a:hover{text-decoration-thickness:2px}
.tv-page .article-body strong{font-weight:650}
.tv-page .article-body table{width:100%;border-collapse:collapse;margin:0 0 1.4em;font-size:1rem}
.tv-page .article-body :is(th,td){text-align:left;padding:12px 16px 12px 0;border-top:1px solid var(--tv-line);vertical-align:top;line-height:1.5}
.tv-page .article-body th{font-weight:650}
.tv-page .article-body table{display:block;overflow-x:auto}
.tv-page .article-sources,.tv-page .article-more{margin-top:clamp(56px,6vw,88px);padding-top:0;border-top:0}
.tv-page .article-sources h2,.tv-page .article-more h2{font-size:1.5rem;font-weight:500;letter-spacing:-.03em;line-height:1.2;margin:0 0 18px}
.tv-page .article-sources ol,.tv-page .article-more ul{margin:0;padding:0;list-style:none}
.tv-page .article-sources ol{border-top:1px solid var(--tv-line)}
.tv-page .article-sources li{font-size:.875rem;line-height:1.6;color:var(--tv-soft);margin:0;padding:12px 0;border-bottom:1px solid var(--tv-line);overflow-wrap:anywhere}
.tv-page .article-more ul{border-top:1px solid var(--tv-line)}
.tv-page .article-more li{margin:0;border-bottom:1px solid var(--tv-line);font-size:1.0625rem;line-height:1.45}
.tv-page .article-more li a{display:block;padding:15px 0;color:var(--tv-ink);font-weight:500;letter-spacing:-.01em;text-decoration:none}
.tv-page .article-more li a:hover{color:var(--tv-blue)}
.tv-page .article-sources a{color:var(--tv-soft);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.tv-page .article-sources a:hover{color:var(--tv-blue)}
.article-body sup.cite{font-size:.8125rem;line-height:0;margin-left:1px;vertical-align:super}
/* The padding grows the tap area; the matching negative margin keeps the line height and spacing as they were. */
.tv-page .article-body sup.cite a{display:inline-block;text-decoration:none;font-weight:650;color:var(--tv-soft);padding:.8em .5em;margin:-.8em -.3em}
.tv-page .article-body sup.cite a:hover{color:var(--tv-blue)}
.tv-page .article-sources li:target{color:var(--tv-ink);background:none;box-shadow:inset 2px 0 0 var(--tv-blue);padding-left:14px}
.tv-page .article a:focus-visible,.tv-page .guide-library a:focus-visible,.tv-page .guide-library summary:focus-visible{outline:2px solid var(--tv-blue);outline-offset:3px}

/* Index: the title sits solo, the shelves are hairline lists. */
.tv-page .blog-hero{display:block;padding-bottom:clamp(24px,3vw,40px)}
.tv-page .blog-hero .tv-h1{max-width:12em;font-size:var(--tv-h1-inner)}
.tv-page .blog-intro p{max-width:56ch;font-size:1.125rem;margin:0}
.tv-page .guide-library{padding:clamp(24px,3vw,40px) var(--g) clamp(80px,9vw,128px)}
.guide-library ul{list-style:none;margin:0;padding:0}
.tv-page .guide-library a{color:var(--tv-ink);text-decoration:none}
.guide-topics ul{display:flex;flex-wrap:wrap;gap:10px 28px}
.tv-page .guide-topics a{display:inline-block;padding:4px 0;border:0;border-bottom:1px solid var(--tv-line);border-radius:0;font-size:.9375rem;line-height:1.4;font-weight:650}
.guide-recent{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr);gap:12px 6%;align-items:start;margin:clamp(40px,5vw,72px) 0 clamp(56px,7vw,104px);padding:26px 0}
.tv-page .guide-recent h2{margin:0;font-size:1.3125rem;font-weight:600;line-height:1.3;letter-spacing:-.02em}
.guide-recent ul{display:grid;gap:14px}
.guide-recent li{display:flex;align-items:baseline;gap:14px;font-size:1rem;line-height:1.5}
.guide-flag{flex:none;min-width:5.2em;font-size:.8125rem;font-weight:700;line-height:1.5;color:var(--tv-blue)}
.guide-shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(48px,6vw,80px) 6%;align-items:start}
.guide-shelf{scroll-margin-top:24px}
.tv-page .guide-shelf h2{font-size:var(--tv-h2-reading);font-weight:500;line-height:1.1;letter-spacing:-.04em;margin:0 0 12px}
.tv-page .guide-shelf>p{font-size:1rem;line-height:1.6;color:var(--tv-soft);max-width:24rem;text-wrap:pretty;margin:0 0 24px}
.guide-shelf>ul,.guide-states{border-top:1px solid var(--tv-line)}
.guide-states+ul{border-top:0}
.guide-shelf li{border-bottom:1px solid var(--tv-line)}
.tv-page .guide-shelf li a{display:block;padding:16px 0;font-size:1.0625rem;font-weight:500;line-height:1.4;letter-spacing:-.01em}
.tv-page .guide-more summary,.tv-page .guide-states summary{display:flex;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid var(--tv-line);font-size:.9375rem;line-height:1.45;font-weight:650;color:var(--tv-blue);cursor:pointer;list-style:none}
.guide-more summary::-webkit-details-marker,.guide-states summary::-webkit-details-marker{display:none}
.guide-more summary::before,.guide-states summary::before{content:'';flex:none;width:10px;height:10px;background:linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 100% no-repeat}
.guide-more[open] summary::before,.guide-states[open] summary::before{background-size:100% 1.5px,0 0}
@media(hover:hover) and (pointer:fine){.tv-page .guide-shelf li a:hover,.tv-page .guide-recent a:hover{color:var(--tv-blue)}.tv-page .guide-topics a:hover{border-bottom-color:var(--tv-blue);color:var(--tv-blue)}.guide-more summary:hover,.guide-states summary:hover{text-decoration:underline;text-underline-offset:4px}}
@media(max-width:1000px){
  .tv-page .article{display:block}
  .tv-page .article>.article-toc{display:none}
  .guide-shelves{grid-template-columns:1fr}
  .guide-recent{grid-template-columns:1fr}
}
@media(max-width:640px){
  .tv-page .article{padding:28px 16px 72px}
  .tv-page .article-body,.tv-page .article-body p,.tv-page .article-body li{font-size:1.0625rem}
  .tv-page .article h1.article-title{font-size:clamp(2.25rem,10.5vw,3rem)}
  .tv-page .guide-library{padding:24px 16px 72px}

}
/* Figures in a guide: a diagram or chart beside the text it explains. SVGs carry their own dark-mode colours. */
.tv-page .article-figure{margin:2em 0 2.2em;max-width:640px}
.tv-page .article-figure img{display:block;width:100%;height:auto}
.tv-page .article-figure img[src$=".svg"]{filter:none}
.tv-page .article-figure figcaption{margin-top:.75em;font-size:.9375rem;line-height:1.5;color:var(--tv-soft);text-wrap:pretty}
