/* SeoNative editorial system. Loaded only on single posts and in the block editor. */
html:has(body.single-post) { scroll-padding-top: 0; }
body.single-post .site.grid-container { max-width: 1248px; padding: 42px 40px 72px; }
.single-post .site-main { margin: 0; }
.single-post .sn-article { min-width: 0; --sn-reading-offset: 142px; }
.sn-article-header { padding: 0 0 30px; margin-bottom: 38px; border-bottom: 1px solid var(--sn-line); }
.sn-article-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font: 11px/1.6 var(--sn-mono); letter-spacing: .65px; color: var(--sn-muted); margin-bottom: 20px; }
.sn-article-kicker > a { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--sn-ink); text-decoration: none; }
.sn-article-kicker > a::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #64832b; box-shadow: 0 0 0 4px #d0f26655; }
.sn-article-kicker > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.single-post .sn-article-header .entry-title { max-width: 1000px; font-size: clamp(34px, 4.1vw, 52px); line-height: 1.11; letter-spacing: -1.85px; font-weight: 650; margin: 0 0 20px; text-wrap: balance; overflow-wrap: break-word; }
.sn-article-dek { max-width: 800px; color: var(--sn-muted); font-size: 19px; line-height: 1.65; margin: 0 0 24px; }
.sn-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 13px; font-size: 12px; line-height: 1.6; color: var(--sn-muted); }
.sn-editorial-mark { width: 29px; height: 29px; flex: none; display: grid; place-items: center; background: var(--sn-lime); color: var(--sn-ink); border-radius: 5px; font-size: 18px; font-weight: 800; }
.sn-article-author { color: var(--sn-ink); font-weight: 600; text-decoration: none; }
.sn-article-author:hover { text-decoration: underline; text-underline-offset: 3px; }
.sn-meta-separator { width: 3px; height: 3px; border-radius: 50%; background: #7c8975; }
.sn-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 254px; gap: 68px; align-items: start; }
.sn-reading-main { min-width: 0; }
.sn-reading-layout--solo { display: block; max-width: 800px; }
.sn-article-copy.entry-content { margin: 0; font-size: 18px; line-height: 1.85; counter-reset: sn-section; overflow-wrap: break-word; }
.sn-article-copy > p, .sn-article-copy > ul, .sn-article-copy > ol, .sn-article-copy > h2, .sn-article-copy > h3, .sn-article-copy > details { max-width: 700px; margin-inline: 0; }
.sn-article-copy p, .sn-article-copy ul, .sn-article-copy ol { margin-bottom: 24px; }
.sn-article-copy > :first-child { margin-top: 0; }
.sn-article-copy a { color: #365918; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.sn-article-copy a:hover { color: #15241e; text-decoration-thickness: 2px; }
.sn-article-copy a:focus-visible, .sn-article a:focus-visible, .sn-article summary:focus-visible, .sn-article [tabindex]:focus-visible { outline: 3px solid #759322; outline-offset: 5px; }
.sn-article-copy h2.sn-content-heading { counter-increment: sn-section; margin-top: 49px; padding-top: 24px; margin-bottom: 20px; border-top: 1px solid var(--sn-line); font-size: 30px; line-height: 1.3; font-weight: 620; letter-spacing: -.75px; scroll-margin-top: var(--sn-reading-offset); }
.sn-content-heading::before { content: counter(sn-section, decimal-leading-zero) " /"; display: block; margin-bottom: 11px; font: 11px/1.4 var(--sn-mono); letter-spacing: .8px; color: #557330; }
.sn-article-copy h3 { font-size: 23px; line-height: 1.35; margin-top: 31px; margin-bottom: 14px; letter-spacing: -.3px; scroll-margin-top: var(--sn-reading-offset); }
.sn-article-copy li { padding-left: 5px; margin-bottom: 11px; }
.sn-article-copy li::marker { color: #4c682e; font-weight: 650; }
.sn-article-copy > ol { padding-left: 26px; }
.sn-article-copy > ol > li { padding: 3px 0 16px 11px; border-bottom: 1px solid #e3e7da; }
.sn-article-copy > ol > li:last-child { border-bottom: 0; padding-bottom: 0; }
.sn-article-copy > ul { padding-left: 24px; }
.sn-article-copy :is(ul, ol) :is(ul, ol) { margin-top: 12px; margin-bottom: 12px; }

/* One component family; the existing Quick Answer and Technical Note blocks work unchanged. */
.sn-article-copy .sn-callout, .editor-styles-wrapper .sn-callout,
.sn-article-copy .sn-workflow, .editor-styles-wrapper .sn-workflow { background: #edf3e2; border: 1px solid #cbd8b6; border-left: 4px solid #7f9c43; border-radius: 6px; padding: 25px 28px; margin-block: 30px; font-size: 16px; line-height: 1.8; color: #26392a; }
.sn-article-copy .sn-callout > .wp-block-group__inner-container,
.sn-article-copy .sn-workflow > .wp-block-group__inner-container { padding: 0; }
.sn-article-copy .sn-callout :last-child, .sn-article-copy .sn-workflow :last-child { margin-bottom: 0; }
.sn-article-copy .sn-callout p, .sn-article-copy .sn-workflow p { margin-top: 0; margin-bottom: 15px; }
.sn-article-copy .sn-label-block, .editor-styles-wrapper .sn-label-block { font: 600 11px/1.6 var(--sn-mono); letter-spacing: 1.1px; color: #405a24; text-transform: uppercase; margin-bottom: 12px !important; }
.sn-article-copy .sn-callout--note, .sn-article-copy .sn-callout--example,
.editor-styles-wrapper .sn-callout--note, .editor-styles-wrapper .sn-callout--example { background: #f0f2eb; border-color: #d6dccb; border-left-color: #6e7c61; }
.sn-article-copy .sn-callout--caution, .editor-styles-wrapper .sn-callout--caution { background: #f7f3e6; border-color: #ddd2ae; border-left-color: #8d752d; }
.sn-article-copy .sn-callout--caution .sn-label-block { color: #695315; }
.sn-article-copy .sn-workflow, .editor-styles-wrapper .sn-workflow { background: #fff; border-left-color: #7f9c43; }
.sn-article-copy .sn-workflow ol { padding-left: 22px; margin-top: 16px; }
.sn-article-copy .sn-workflow li { padding-left: 9px; margin-bottom: 15px; }
.sn-article-copy .sn-note { color: var(--sn-muted); font-size: 14px; line-height: 1.8; border-left: 2px solid #b4c19b; padding: 5px 0 5px 20px; margin-block: 25px; }
.sn-article-copy .sn-note > .wp-block-group__inner-container { padding: 0; }
.sn-article-copy .sn-note p:last-child { margin-bottom: 0; }

/* Wide content stays within the canvas. Tables preserve their row/column relationships. */
.sn-article-copy .wp-block-table { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; margin: 29px 0 32px; background: #fff; border: 1px solid #ccd5bf; border-radius: 6px; scrollbar-color: #98ac72 #eef1e7; scrollbar-width: thin; }
.sn-article-copy .wp-block-table table { border: 0; border-collapse: collapse; margin: 0; width: 100%; min-width: 580px; font-size: 14px; line-height: 1.7; }
.sn-article-copy .wp-block-table :is(th, td) { border: 0; border-bottom: 1px solid #e0e6d7; padding: 16px 18px; vertical-align: top; min-width: 135px; overflow-wrap: anywhere; }
.sn-article-copy .wp-block-table th { background: #e8efdc; color: #263b1e; font-size: 12px; font-weight: 700; line-height: 1.5; border-bottom: 1px solid #bacba0; }
.sn-article-copy .wp-block-table td:first-child { font-weight: 600; color: #263b1e; }
.sn-article-copy .wp-block-table tr:nth-child(even) td { background: #f8faf4; }
.sn-article-copy .wp-block-table tr:last-child td { border-bottom: 0; }
.sn-article-copy .wp-block-table :is(caption, figcaption) { padding: 13px 18px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--sn-muted); text-align: left; }
.sn-article-copy .wp-block-image, .sn-article-copy .wp-block-embed { margin: 36px 0 40px; max-width: 100%; }
.sn-article-copy .wp-block-image img { display: block; width: auto; max-width: 100%; height: auto; border: 1px solid var(--sn-line); border-radius: 6px; }
.sn-article-copy .alignwide, .sn-article-copy .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.sn-article-copy figcaption { font-size: 13px; line-height: 1.7; margin-top: 12px; }
.sn-article-copy pre { max-width: 100%; font-size: 14px; line-height: 1.75; }
.sn-article-copy pre code { white-space: pre; overflow-wrap: normal; }
.sn-article-copy iframe { max-width: 100%; }
.sn-article-copy blockquote { margin-inline: 0; padding: 20px 25px; border-left: 3px solid #819d45; background: #edf3e2; font-style: normal; }

/* Contextual rail. Only the rail scrolls when a future article has many headings. */
.sn-article-rail { align-self: stretch; min-width: 0; }
.sn-rail-sticky { position: sticky; top: var(--sn-reading-offset); max-height: calc(100dvh - var(--sn-reading-offset) - 24px); overflow-y: auto; padding: 3px 8px 8px 0; scrollbar-width: thin; scrollbar-color: #a9b694 transparent; }
.sn-editorial-label { color: #536448; font: 600 10px/1.6 var(--sn-mono); letter-spacing: 1.3px; margin: 0 0 16px; }
.sn-section-nav ol { padding: 0; margin: 0; list-style: none; }
.sn-section-nav li { margin: 0; }
.sn-section-nav a { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 9px; align-items: baseline; padding: 10px 12px; border-left: 2px solid #dce2d2; font-size: 12px; line-height: 1.6; color: #57634d; text-decoration: none; overflow-wrap: anywhere; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.sn-section-nav a:hover { color: #15241e; background: #ecf1e3; }
.sn-section-nav a[aria-current="location"] { border-left-color: #71952b; background: #eaf1dd; color: #233919; font-weight: 600; }
.sn-nav-number { font-family: var(--sn-mono); font-size: 10px; color: #748066; font-weight: 400; }
.sn-section-nav a[aria-current="location"] .sn-nav-number { color: #4d6928; }
.sn-rail-next { border-top: 1px solid var(--sn-line); margin-top: 26px; padding-top: 22px; }
.sn-rail-next .sn-editorial-label { margin-bottom: 12px; }
.sn-rail-next > a { display: flex; align-items: start; gap: 16px; color: #2b4321; font-size: 13px; line-height: 1.6; font-weight: 600; text-decoration: none; }
.sn-rail-next > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sn-rail-next > a > span { margin-left: auto; font-size: 19px; font-weight: 400; }
.sn-rail-top { display: inline-flex; gap: 25px; align-items: center; margin-top: 24px; color: #59684e; font-size: 11px; text-decoration: none; }
.sn-rail-top:hover { text-decoration: underline; text-underline-offset: 4px; }
#sn-article-title { scroll-margin-top: var(--sn-reading-offset); }
.sn-mobile-toc { display: none; }

.sn-continue { border-top: 1px solid #c8d3b8; margin-top: 42px; padding-top: 29px; }
.sn-continue h2 { margin: 0 0 22px; font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.7px; }
.sn-continue .sn-editorial-label { margin-bottom: 11px; }
.sn-next-reads { display: grid; gap: 12px; }
.sn-next-read { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; border: 1px solid #cbd7b5; border-radius: 6px; background: #edf3e2; color: #263b1e; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.sn-next-read:hover { background: #e7efda; border-color: #8ca667; }
.sn-next-read strong { display: block; font-size: 19px; line-height: 1.4; font-weight: 600; }
.sn-next-read > span > span { display: block; font-size: 13px; line-height: 1.75; color: #59664f; margin-top: 9px; max-width: 550px; }
.sn-next-arrow { flex: none; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #bfd295; border-radius: 50%; background: var(--sn-lime); font-size: 22px; }
.sn-editorial-context { font-size: 12px; line-height: 1.7; color: var(--sn-muted); margin: 21px 0 0; }
.sn-editorial-context a { text-decoration: underline; text-underline-offset: 3px; }
.single-post .sn-footer { border-top: 1px solid var(--sn-line); }
.single-post .sn-reading-progress { top: var(--sn-toolbar-height, 0px); }

@media (max-width: 1100px) {
  .sn-reading-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 40px; }
  body.single-post .site.grid-container { padding-inline: 32px; }
  .sn-article-copy.entry-content { font-size: 17px; }
}
@media (max-width: 960px) {
  body.single-post .site.grid-container { max-width: 850px; padding-top: 32px; }
  .sn-reading-layout { display: block; }
  .sn-article-rail { display: none; }
  .sn-article-header { margin-bottom: 26px; }
  .sn-mobile-toc { display: block; margin: 0 0 29px; border: 1px solid #cbd6ba; border-radius: 6px; background: #f0f4e7; }
  .sn-mobile-toc > summary { cursor: pointer; padding: 15px 18px; color: #2c4322; font-size: 14px; line-height: 1.5; font-weight: 600; }
  .sn-mobile-toc > summary > span { float: right; margin-left: 14px; font-size: 11px; line-height: 1.9; font-family: var(--sn-mono); font-weight: 400; color: #596c47; }
  .sn-mobile-toc-body { border-top: 1px solid #d5dfc7; padding: 9px 16px 16px; }
  .sn-mobile-toc .sn-section-nav a { font-size: 13px; min-height: 44px; padding-block: 11px; }
  .sn-article-copy > p, .sn-article-copy > ul, .sn-article-copy > ol, .sn-article-copy > h2, .sn-article-copy > h3 { max-width: 100%; }
}
@media (max-width: 650px) {
  body.single-post .site.grid-container { padding: 27px 22px 44px; }
  .sn-article-kicker { font-size: 10px; line-height: 1.7; gap: 7px 11px; margin-bottom: 17px; }
  .sn-article-kicker > span:last-child { display: none; }
  .sn-article-kicker > span[aria-hidden] { display: none; }
  .single-post .sn-article-header .entry-title { font-size: clamp(31px, 7.8vw, 42px); letter-spacing: -.95px; line-height: 1.16; text-wrap: pretty; margin-bottom: 17px; }
  .sn-article-dek { font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
  .sn-article-header { padding-bottom: 23px; margin-bottom: 24px; }
  .sn-article-meta { font-size: 11px; gap: 8px 10px; }
  .sn-editorial-mark { width: 25px; height: 25px; font-size: 16px; }
  .sn-article-copy.entry-content { font-size: 16px; line-height: 1.85; }
  .sn-article-copy h2.sn-content-heading { margin-top: 37px; padding-top: 20px; font-size: 26px; line-height: 1.3; letter-spacing: -.6px; margin-bottom: 16px; }
  .sn-content-heading::before { font-size: 10px; margin-bottom: 9px; }
  .sn-article-copy h3 { font-size: 21px; margin-top: 25px; }
  .sn-article-copy .sn-callout, .sn-article-copy .sn-workflow { padding: 20px 21px; font-size: 15px; margin-block: 25px; }
  .sn-article-copy .sn-note { font-size: 13px; padding-left: 16px; }
  .sn-article-copy .sn-label-block { font-size: 10px; }
  .sn-article-copy .wp-block-table { margin-block: 25px 29px; }
  .sn-article-copy .wp-block-table :is(th, td) { padding: 13px 15px; }
  .sn-article-copy .wp-block-table::after { content: "Scroll horizontally to read all columns →"; display: block; position: sticky; left: 0; padding: 10px 14px; font-size: 11px; line-height: 1.5; color: #536546; border-top: 1px solid #d7dfcb; background: #f1f5e9; }
  .sn-article-copy .wp-block-image { margin-block: 29px 33px; }
  .sn-article-copy pre { padding: 18px; font-size: 13px; }
  .sn-continue { margin-top: 34px; padding-top: 24px; }
  .sn-continue h2 { font-size: 26px; }
  .sn-next-read { padding: 20px; gap: 16px; }
  .sn-next-read strong { font-size: 17px; }
  .sn-next-read > span > span { font-size: 12px; }
  .sn-next-arrow { width: 31px; height: 31px; font-size: 20px; }
}
@media (max-width: 380px) {
  body.single-post .site.grid-container { padding-inline: 18px; }
  .sn-article-meta .sn-meta-separator:last-of-type { display: none; }
  .sn-article-meta > span:last-child { flex-basis: 100%; padding-left: 35px; }
  .sn-article-copy .sn-callout, .sn-article-copy .sn-workflow { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.single-post) { scroll-behavior: auto; }
  .sn-article *, .sn-article *::before, .sn-article *::after { transition: none !important; animation: none !important; }
}
@media print {
  .sn-article-rail, .sn-mobile-toc, .sn-continue, .sn-reading-progress { display: none !important; }
  .sn-reading-layout { display: block; }
  body.single-post .site.grid-container { padding: 0; max-width: none; }
  .sn-article-copy .wp-block-table { overflow: visible; break-inside: avoid; }
  .sn-article-copy .wp-block-table table { min-width: 0; }
}
