/* Generated by tools/build-css.ps1 from the live Webflow site. Edit e4b-additions.css for new rules. */

/* Rich-text reading styles. Block properties (width / max-width / font-size /
   line-height) are native on .text-rich-text; the nested rules below have to be
   embed because no nested tag styles exist for this class on this site.
   Table styles live in SITE-WIDE head code, not here. */
.text-rich-text h1{font-size:2.5rem;line-height:1.15;margin:0 0 1rem}
.text-rich-text h2{font-size:2rem;line-height:1.2;margin:3rem 0 .75rem}
.text-rich-text h3{font-size:1.5rem;line-height:1.3;margin:2.25rem 0 .625rem}
.text-rich-text h4{font-size:1.25rem;line-height:1.35;margin:2rem 0 .5rem}
.text-rich-text h5{font-size:1.125rem;line-height:1.4;margin:1.75rem 0 .5rem}
.text-rich-text h6{font-size:1rem;line-height:1.4;margin:1.75rem 0 .5rem}
.text-rich-text h2:first-child,.text-rich-text h3:first-child{margin-top:0}

/* Anchor targets: clear the fixed navbar (86px) PLUS the sticky green
   breadcrumb bar (44px, top:86px) - 150px leaves ~20px breathing room.
   Works with the click handler in the footer code, because Webflow's own
   anchor scroll ignores scroll-margin-top. */
.text-rich-text h2,.text-rich-text h3{scroll-margin-top:150px}

.text-rich-text p{margin:0 0 1.25rem}
.text-rich-text ul,.text-rich-text ol{margin:0 0 1.25rem;padding-left:1.5rem;line-height:1.5}
.text-rich-text li{margin-bottom:.875rem}
.text-rich-text li:last-child{margin-bottom:0}
.text-rich-text a{text-underline-offset:2px}
.text-rich-text img{max-width:100%;height:auto;border-radius:.5rem}
.text-rich-text blockquote{margin:2.5rem 0;padding:.25rem 0 .25rem 1.5rem;
  border-left:1px solid currentColor;font-weight:300;line-height:1.5}
figcaption{margin-top:.5rem;color:#666;text-align:left;font-size:.8125rem;line-height:1.45}

/* Video embeds. Webflow renders rich-text videos at width:60% (.w-richtext
   figure rules) with an inline padding-bottom of 0.6 x the video's own aspect
   ratio. Widen the figure to the full reading column; block 3 of the footer
   code rescales that inline padding by the same factor, so each video keeps
   its true ratio instead of every video being forced to 16:9.
   Keep this selector and the footer one in step - both are scoped to
   .text-rich-text so a video in any other rich text block is left alone. */
.text-rich-text figure.w-richtext-figure-type-video{width:100%;max-width:100%;margin:2rem 0}
.text-rich-text figure.w-richtext-figure-type-video iframe{border-radius:.5rem}

/* The embed wrapper is a block inside the reading column - give it the same
   vertical rhythm as a figure or table would have had. */
.text-rich-text .w-embed{margin:2rem 0}

/* Tables pasted straight into rich text sit in a bare div, so the site-wide
   .w-embed:has(table) scroll rule never matches - without this the 600px
   min-width table forces the whole page wide on phones. Mirrors site CSS. */
.text-rich-text div:has(> table){overflow-x:auto;-webkit-overflow-scrolling:touch;margin:2rem 0}
@media (max-width:767px){
  .text-rich-text div:has(> table)::before{content:"Scroll for more \2192";display:block;
    font-size:.75rem;color:var(--green,#00947b);font-weight:600;margin-bottom:.5rem}
}

/* Breadcrumb reads "Guides > Title" - hide the leading chevron, which only
   made sense when the chevrons pointed left (rotate removed 26 Aug). */
.breadcrumb_text-wrapper > .breadcrumb_text-divider:first-child{display:none}

@media (max-width:991px){
  /* Stack the sidebar layout: the desktop flex row forced a 970px-wide page
     on phones (horizontal scroll; sticky bars narrower than the page).
     .faq_content has a native fixed width of 600px - override it here.
     The footer code moves the aside below the green tl;dr block. */
  .faq_layout{flex-direction:column}
  .faq_toc{position:static;width:100%;height:auto;margin:1.5rem 0}
  .faq_content{width:100%;max-width:100%}
  .text-rich-text{width:100%;max-width:100%;margin-top:3.25rem}
}
@media (max-width:767px){
  .text-rich-text{line-height:1.6;margin-top:0}
  .text-rich-text h1{font-size:2rem}
  .text-rich-text h2{font-size:1.625rem;margin-top:2.25rem}
  .text-rich-text h3{font-size:1.375rem;margin-top:1.75rem}
  .text-rich-text h4{font-size:1.125rem}
  .text-rich-text blockquote{font-size:1.125rem;padding-left:1.125rem}
}

/* Sticky contents list */
#faq-toc-label{font-size:14px;line-height:1.4;font-weight:600;margin-bottom:.75rem}
#faq-toc-list a{display:block;font-size:14px;line-height:19.44px;padding:.5rem 0 .5rem .75rem;
  border-left:2px solid #e3e3e3;text-decoration:none}
#faq-toc-list a:hover{border-left-color:currentColor}

/* Sidebar persists on guides with no sub-question H2s (e.g. video-only ones).
   The footer code sets [hidden] on the whole .faq_toc aside in that case,
   which took the CTA card down with the contents list - author CSS beats the
   UA rule for [hidden], so the aside stays. Second rule hides just the
   contents list when it ended up with no links, so no orphan "In this
   article" label.
   MAINTENANCE: everything for this page now lives in these two boxes. The
   Webflow Data API cannot write any block containing a script tag (HTTP 406),
   so all JS changes here are hand-edits in the Designer. CSS can still be
   changed via the API, or natively where the style panel allows it. */
.faq_toc[hidden]{display:block}
.faq-toc-wrap:not(:has(#faq-toc-list a)){display:none}
