/* FS-content (content_seo group, FLOW 11-19). Loaded after B4-content-legal or B3-commercial (build.mjs takes several bundles).
   Flow clips and Flow stills inside articles, the blog's Motion group, the PDF to animated PowerPoint tool page, and the motion rows
   on the compare pages. Kit tokens only; no new colors, one weight. */

/* ---- the moving deck under an article header ---- */
.fs-lead{max-width:960px;margin:8px auto 0;padding:0 var(--gut)}
.fs-lead .clip{padding:14px}
.fs-cap{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px 32px;margin:14px 2px 0;align-items:start}
.fs-desc{font-size:15px;line-height:1.55;color:var(--fg2)}
.fs-desc b,.fs-k{font-weight:400;color:var(--fg)}
.fs-credit{font-size:13px;line-height:1.5;color:var(--fg3)}
.fs-credit a{color:var(--fg2);text-decoration:underline;text-underline-offset:3px}
@media (max-width:760px){.fs-cap{grid-template-columns:1fr}.fs-lead .clip{padding:10px}}

/* ---- stills inside the prose: one, a pair (click 1, click 2) or a trio (three moves) ---- */
.art .prose .fs-fig{margin:36px 0}
.art .prose .fs-fig.fs-wide{margin-left:-120px;margin-right:-120px}
.fs-grid{display:grid;gap:14px}
.fs-pair .fs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.fs-trio .fs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.fs-cell{margin:0}
.fs-cell .slide-img{display:block;border-radius:6px;overflow:hidden;border:1px solid rgba(20,17,13,.1);background:#fff}
.fs-cell .slide-img img{display:block;width:100%;height:auto}
.fs-k{display:block;margin:10px 2px 0;font-size:14px;line-height:1.45}
.fs-k small{display:block;margin-top:2px;font-size:13px;color:var(--fg3)}
.fs-fig>figcaption{margin:12px 2px 0}
.art .prose .fs-fig .card{padding:12px}
@media (max-width:1180px){.art .prose .fs-fig.fs-wide{margin-left:0;margin-right:0}}
@media (max-width:640px){.fs-pair .fs-grid,.fs-trio .fs-grid{grid-template-columns:1fr}}

/* ---- a second clip inside the prose ---- */
.art .prose .fs-clip{margin:36px 0}
.art .prose .fs-clip .clip{padding:12px}

/* ---- visible questions (AEO: H3 + answer, always open) ---- */
.fs-qa{margin-top:8px;border-top:1px solid var(--rule)}
.fs-qa>div{padding:18px 0;border-bottom:1px solid var(--rule)}
.art .prose .fs-qa h3{margin:0;font-size:19px;line-height:1.35}
.art .prose .fs-qa p{margin:6px 0 0}

/* ---- sources at the end of an article ---- */
.fs-src{margin-top:40px;padding-top:18px;border-top:1px solid var(--rule)}
.art .prose .fs-src h2{font-size:18px;margin:0 0 8px}
.fs-src ul{margin:0;padding:0;list-style:none}
.fs-src li{font-size:14px;line-height:1.55;color:var(--fg3);padding:4px 0}
.fs-src a{color:var(--fg2);text-decoration:underline;text-underline-offset:3px;word-break:break-word}

/* ---- blog index: Motion group ---- */
.fs-motion{padding:8px 0 56px}
.fs-motion-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;margin-bottom:22px}
.fs-motion-h h2{font-size:32px;line-height:1.15}
.fs-motion-h p{max-width:560px;color:var(--fg2)}
.fs-mgrid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.fs-mcard{position:relative;grid-column:span 4;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:12px;transition:border-color .2s ease}
.fs-mcard:hover{border-color:rgba(20,17,13,.32)}
.fs-mcard.fs-mlead{grid-column:span 8;grid-row:span 2}
.fs-mcard .slide-img{display:block;border-radius:4px;overflow:hidden;background:var(--paper)}
.fs-mcard .slide-img img{display:block;width:100%;height:auto}
.fs-mcard .clip{padding:0}
.fs-mtxt{padding:14px 4px 4px}
.fs-mcard h3{font-size:19px;line-height:1.3;margin-top:6px}
.fs-mcard.fs-mlead h3{font-size:26px;line-height:1.2}
.fs-mcard h3 a{color:var(--ink)}
.fs-mcard h3 a::after{content:"";position:absolute;inset:0;border-radius:var(--r-card)}
.fs-mcard h3 a:focus-visible{outline:none}
.fs-mcard:has(h3 a:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.fs-mcard .clip-btn{z-index:3}
.fs-mcard .bl-x{margin-top:6px}
.fs-mcard .fs-credit{margin-top:8px}
.fs-mmore{margin-top:20px}
@media (max-width:1023px){.fs-mcard,.fs-mcard.fs-mlead{grid-column:span 6;grid-row:auto}.fs-mcard.fs-mlead{grid-column:span 12}}
@media (max-width:640px){.fs-mcard,.fs-mcard.fs-mlead{grid-column:span 12}.fs-motion-h h2{font-size:26px}}

/* ---- tool page: PDF to animated PowerPoint ---- */
.fs-tool-hero{padding:56px 0 64px}
.fs-tool-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:center}
.fs-tool-hero h1{font-size:56px;line-height:1.05;margin-top:12px}
.fs-tool-hero .lead{margin-top:18px;max-width:520px}
.fs-drop-card{padding:16px}
.fs-drop-card .clipbox{margin-bottom:14px}
.fs-drop-card .drop{min-height:0}
.fs-drop-note{margin-top:12px;font-size:13px;line-height:1.5;color:var(--fg3)}
.fs-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px;counter-reset:fs}
.fs-steps>li{list-style:none;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:12px 12px 18px}
.fs-steps .slide-img{display:block;border-radius:4px;overflow:hidden;border:1px solid rgba(20,17,13,.08)}
.fs-steps .slide-img img{display:block;width:100%;height:auto}
.fs-steps h3{margin:14px 4px 0;font-size:19px;line-height:1.3}
.fs-steps h3 .k{display:inline-grid;place-items:center;width:26px;height:26px;margin-right:10px;border-radius:50%;background:var(--ink);color:#fff;font-size:13px;vertical-align:2px}
.fs-steps p{margin:8px 4px 0;font-size:15px;line-height:1.55;color:var(--fg2)}
.fs-steps .fs-credit{margin:8px 4px 0}
.fs-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.fs-two .clip{padding:12px}
.fs-qa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;margin-top:20px}
.fs-qa-grid>div{padding:18px 0;border-top:1px solid var(--rule)}
.fs-qa-grid h3{font-size:19px;line-height:1.35}
.fs-qa-grid p{margin-top:6px;color:var(--fg2)}
.fs-rel{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:18px}
.fs-tbl-card{padding:8px 20px;margin-top:24px}
@media (max-width:1023px){.fs-tool-grid{grid-template-columns:1fr;gap:32px}.fs-tool-hero h1{font-size:44px}.fs-steps{grid-template-columns:1fr}.fs-qa-grid{grid-template-columns:1fr}}
@media (max-width:760px){.fs-two{grid-template-columns:1fr}}
@media (max-width:640px){.fs-tool-hero{padding:32px 0 40px}.fs-tool-hero h1{font-size:36px}}

/* ---- compare pages and about: a Flow band with a clip beside the words ---- */
.fs-band{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:center}
.fs-band .clip{padding:12px}
.fs-band h2{font-size:36px;line-height:1.12}
.fs-band p{margin-top:14px;color:var(--fg2)}
.fs-band p.fs-credit{margin-top:10px}
@media (max-width:1023px){.fs-band{grid-template-columns:1fr;gap:24px}.fs-band h2{font-size:30px}}
.fs-cell-note{display:block;margin-top:4px;font-size:12.5px;color:var(--fg3)}

/* ---- blog index: the Motion filter (CSS only, like the other categories in B4) ---- */
.bl-all:has(#motion-posts:target) .flt a[href="#motion-posts"]{color:var(--fg);text-decoration-color:currentColor}
.bl-all:has(#motion-posts:target) .post:not(.c-motion){display:none}

/* ---- blog index: the H1 is now a sentence (R_SEO §1), so it sets smaller than the old one-word "Blog" ---- */
.bl-head h1{font-size:64px;line-height:1.02;letter-spacing:-.01em;text-wrap:balance}
@media (max-width:1180px){.bl-head h1{font-size:56px}}
@media (max-width:1023px){.bl-head h1{font-size:48px}}
@media (max-width:640px){.bl-head h1{font-size:38px;line-height:1.06}}

/* ---- tool page hero: the PDF page and the moving slide made from it ---- */
.fs-p2s{margin:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr))}
.fs-p2s-page{grid-column:1 / span 7;grid-row:1;position:relative;z-index:1;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:10px}
.fs-p2s-page img{display:block;width:100%;height:auto;border-radius:3px}
.fs-p2s-clip{grid-column:4 / span 9;grid-row:1;position:relative;z-index:2;margin-top:40%}
.fs-p2s-clip .clip{padding:10px}
.fs-p2s>figcaption{grid-column:1 / -1;grid-row:2;margin-top:14px}
.fs-tag{position:absolute;left:18px;top:18px;z-index:3;padding:4px 10px;border-radius:var(--r-pill);background:rgba(255,255,255,.94);border:1px solid rgba(20,17,13,.12);font-size:12.5px;color:var(--ink)}
.fs-tag-ink{background:var(--ink);color:#fff;border-color:var(--ink);top:auto;bottom:18px;left:18px}
.fs-cap.fs-cap-1{grid-template-columns:1fr;gap:4px}
.fs-clipfig{margin:0}
.fs-clipfig .clip{padding:12px}
.fs-page{background:#fff}
.fs-steps .fs-page img{aspect-ratio:16/9;object-fit:cover;object-position:50% 35%}
.fs-tool-hero .crumbs{margin-bottom:8px}
@media (max-width:640px){.fs-p2s-page{grid-column:1 / span 8}.fs-p2s-clip{grid-column:2 / span 11;margin-top:46%}.fs-tag{left:12px;top:12px}.fs-tag-ink{bottom:12px;left:12px}}

/* ---- about: the three builds on real slides (one document each) ---- */
.fs-builds-sec{padding-top:56px;padding-bottom:16px}
.fs-builds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fs-build{margin:0}
.fs-build .card{padding:10px}
.fs-build figcaption{margin:12px 2px 0}
.fs-bname{font-size:22px;line-height:1.2;color:var(--fg)}
.fs-bline{margin-top:6px;font-size:15px;line-height:1.55;color:var(--fg2)}
.fs-desc.fs-desc-sm{margin-top:8px;font-size:13.5px}
@media (max-width:1023px){.fs-builds{grid-template-columns:1fr;max-width:640px}}

/* ---- pdf-to-ppt: one plain line to the animated tool page ---- */
.fs-flowline{margin-top:28px;font-size:17px;color:var(--fg2)}
.fs-p2s-page{align-self:start}

/* FIX 11-19 (QA_VISUAL M16): the ported posts open on their clip, under the H1 */
.fs-lead-clip{margin:0 0 32px}

/* QA FIX 11-25 (QA_VISUAL 4 and 11): two-column tables read as "part, then what happens" rows on phones; nothing is cut at the edge */
@media (max-width:640px){
  .tbl-two.tbl-stack th,.tbl-two.tbl-stack td{display:block;padding:2px 0}
  .tbl-two.tbl-stack td::before{content:none}
  .tbl-two.tbl-stack tbody th{font-size:16px;padding-bottom:4px}
  .tbl-wrap:has(.tbl-two){overflow-x:visible}
}
