/* /v154-worked-examples.css */
/* V154: worked examples accessible and readable on narrow screens */
.v154-worked-example{margin:2.5rem 0;padding:1.25rem 1.5rem;border:1px solid #dbe4ed;border-left:4px solid #276c99;border-radius:12px;background:#f8fbfe;color:#182938;line-height:1.75}.v154-worked-example h2{margin:0 0 1rem;font-size:clamp(1.15rem,2vw,1.45rem);color:#173e61}.v154-worked-example p{margin:.75rem 0}@media(max-width:640px){.v154-worked-example{padding:1rem;margin:2rem 0}}


/* /v157-editorial-notes.css */
/* V157: editorial learning notes */
.v157-editorial-note{border:1px solid #cbd5e1;border-left:4px solid #2563eb;border-radius:10px;padding:1rem 1.15rem;margin:2rem 0;background:#f8fafc;color:#172033}.v157-editorial-note h2{font-size:1.25rem;line-height:1.4;margin:0 0 .65rem}.v157-editorial-note p{margin:.55rem 0;line-height:1.75}.v157-editorial-note strong{font-weight:700}@media(prefers-color-scheme:dark){.v157-editorial-note{background:#182335;color:#f1f5f9;border-color:#475569;border-left-color:#60a5fa}}


/* /assets/v163-case.css */
.v163-case{margin:2rem 0;padding:1.1rem 1.3rem;border:1px solid #d4e3f1;border-radius:12px;background:#f7fbff;color:#172b42}.v163-case h2{margin-top:0;line-height:1.4}.v163-case p{line-height:1.8}.v163-case details{margin-top:1rem;padding:.7rem 1rem;border-left:3px solid #3676ac;background:white;border-radius:6px}.v163-case summary{cursor:pointer;font-weight:700}.v163-case details p{margin-bottom:0}@media(max-width:600px){.v163-case{padding:.9rem}}

/* /v170-image-spacing.css */
/* V170: rhythm between illustrations, without altering math content */
main article figure.article-visual { clear: both; margin-block: clamp(2.2rem,4vw,3.6rem); }
main article figure.article-visual + figure.article-visual { margin-top: clamp(3.5rem,7vw,5.5rem); }
main article figure.article-visual img { display:block; max-width:100%; height:auto; margin-inline:auto; object-fit:contain; }
main article figure.article-visual figcaption { margin-top:.75rem; line-height:1.6; }
@media (max-width:760px) { main article figure.article-visual { margin-block:2.3rem 2.8rem; } main article figure.article-visual + figure.article-visual { margin-top:3.6rem; } }


/* /v171-article-images.css */
/* V171: image rhythm for long-form math lessons. Keep diagrams legible. */
@media (min-width: 761px) {
  main article figure.article-visual { margin-block: clamp(2.75rem, 4.5vw, 4.25rem); }
}
@media (max-width: 760px) {
  main article figure.article-visual { margin-block: 2.6rem 3.1rem; }
  main article figure.article-visual + figure.article-visual { margin-top: 4.2rem; }
  main article figure.article-visual img { width: auto; max-width: 100%; height: auto; }
}
main article figure.article-visual figcaption { max-width: 64ch; margin-inline: auto; text-wrap: pretty; }


/* /v172-editorial.css */
/* V172: accessible case studies and calm, responsive illustrations */
.v160-editorial-case, .v160-editorial-case p, .v160-editorial-case li {color:#172d34 !important;background-color:#f3fafb !important;}
.v160-editorial-case strong {color:#13545d !important;}
.v160-editorial-case h2,.v160-editorial-case h3 {color:#173642 !important;}
main figure.v172-figure {margin-block:clamp(2rem,5vw,3.5rem);max-width:100%;}
main figure.v172-figure img {max-width:100%;height:auto;object-fit:contain;}
main figure.v172-figure figcaption {font-size:0.94rem;line-height:1.6;max-width:66ch;margin:0.65rem auto 0;}
@media(max-width:760px){main figure.v172-figure{margin-block:2.4rem 3rem;}main figure.v172-figure+figure.v172-figure{margin-top:3.8rem;}}


/* /v214-image-rhythm.css */
/* V214: fix accessible contrast in light-background article self-check panels; preserve V173 image layout */
main article .v172-figure, main article figure.article-visual {display:block;clear:both;max-width:760px;margin:clamp(2rem,5vw,3.5rem) auto;}
main article figure.article-visual img {display:block;width:100%;height:auto;object-fit:contain;border-radius:14px;}
main article figure.article-visual figcaption {margin-top:.75rem;line-height:1.6;color:#334155;}
main article .v151-self-check, main article .v151-self-check p, main article .v151-self-check li {color:#17283a!important;}
main article .v151-self-check a {color:#0b5378!important;}
@media(max-width:640px){main article figure.article-visual {margin:2.25rem auto;} main article figure.article-visual img{max-height:none;}}


/* /assets/css/v174-image-balance.css */
/* V174: readable images, consistent captions and responsive spacing */
.content figure, .content .article-visual, main.wrap.content figure {max-width:100%;margin:clamp(1.75rem,4vw,3rem) auto;}
.content figure img, main.wrap.content figure img {display:block;max-width:100%;height:auto;margin-inline:auto;}
.content figcaption, main.wrap.content figcaption {font-size:.94rem;line-height:1.65;color:#425466;margin-top:.65rem;}
.v174-learning-figure {max-width:780px;}
.v174-learning-figure img {border-radius:12px;}
@media(max-width:640px){.content figure, .content .article-visual, main.wrap.content figure{margin-block:2rem;}.content figcaption, main.wrap.content figcaption{font-size:.9rem;}}


/* /assets/css/v175-image-editorial.css */
/* V175: legible, uncropped article imagery; no artificial whitespace used to conceal adjacent images. */
@media(max-width:767px){article figure:not(.v175-teaching-diagram) img[src$=".jpg"],article figure:not(.v175-teaching-diagram) img[src$=".jpeg"],article figure:not(.v175-teaching-diagram) img[src$=".webp"]{max-width:min(100%,460px);height:auto;object-fit:contain;margin-inline:auto;display:block}}
article figure{margin-block:clamp(1.5rem,3vw,2.5rem)}
article figure img{height:auto;max-width:100%}
article figure.v175-teaching-diagram{max-width:850px;margin:2.25rem auto}
article figure.v175-teaching-diagram img{display:block;width:100%;height:auto;border-radius:14px}
article figure.v175-teaching-diagram figcaption{font-size:.95rem;line-height:1.55;color:#334c5d;margin-top:.6rem}


/* /v176-image-editorial.css */
/* V176: article image sizing without cropping teaching content */
article.content figure.v176-figure,article.content figure.v172-figure {max-width:780px;margin:clamp(22px,4vw,38px) auto;clear:both}article.content figure.v176-figure img,article.content figure.v172-figure img{display:block;width:100%;height:auto;object-fit:contain;border-radius:12px}article.content figure.v176-figure figcaption{font-size:.9rem;line-height:1.6;color:#40566a;margin-top:9px;text-align:center}@media(max-width:640px){article.content figure.v176-figure,article.content figure.v172-figure{max-width:100%;margin:24px auto}article.content figure.v176-figure figcaption{font-size:.85rem}}

/* /v177-image-editorial.css */
/* V177 — mobile-friendly, editorial images; preserve entire math diagrams */
main figure.article-visual{display:block;clear:both;margin:clamp(1.6rem,3vw,2.6rem) auto;max-width:min(100%,760px)}
main figure.article-visual img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin-inline:auto;border-radius:12px}
main figure.article-visual figcaption{font-size:.9rem;line-height:1.55;max-width:68ch;margin:.55rem auto 0;color:#475569;text-align:center}
@media(max-width:600px){main figure.article-visual{max-width:100%;margin:1.7rem auto}main figure.article-visual img[src$=".jpg"],main figure.article-visual img[src$=".jpeg"],main figure.article-visual img[src$=".webp"]{max-width:min(100%,460px)}}


/* /v178-image-editorial.css */
/* V178: preserve math and instructional imagery without oversized vertical photos */
main figure.article-visual{break-inside:avoid;margin:2rem auto;max-width:760px;clear:both}
main figure.article-visual img{display:block;max-width:100%;height:auto;object-fit:contain;margin:0 auto}
main figure.article-visual img[src$=".svg"]{width:100%;max-width:760px}
main figure.article-visual figcaption{max-width:70ch;margin:.65rem auto 0;line-height:1.6;color:#334155;font-size:.92rem}
@media(max-width:600px){main figure.article-visual{margin:1.8rem auto}main figure.article-visual img[src$=".jpg"],main figure.article-visual img[src$=".jpeg"]{width:auto;max-width:100%;max-height:440px}}
@media(prefers-reduced-motion:reduce){main figure.article-visual img{transition:none!important}}


/* /v179-image-quality.css */
/* V179: responsive article imagery; never crop educational diagrams */
@media (max-width:767px){main figure.article-visual,main figure.v176-figure{margin:1.4rem auto!important;max-width:100%!important}main figure img{max-width:100%;height:auto!important;object-fit:contain!important}}
main figure img{display:block;max-width:100%;height:auto;object-fit:contain}main figure figcaption{line-height:1.55;overflow-wrap:anywhere}main figure{break-inside:avoid}main figure+figure{margin-top:1.75rem}


/* /v180-image-layout.css */
/* V180: preserve intrinsic image ratio, prevent tall images dominating reading flow */
article.content figure.article-visual{max-width:780px;margin:clamp(24px,4vw,44px) auto;clear:both;text-align:center}article.content figure.article-visual img{display:block;max-width:100%;width:auto;height:auto;max-height:540px;object-fit:contain;margin:0 auto;border-radius:12px}article.content figure.article-visual figcaption{font-size:.9rem;line-height:1.5;color:#536678;margin-top:10px}@media(max-width:640px){article.content figure.article-visual{margin:28px auto}article.content figure.article-visual img{max-height:420px}}

/* /v181-image-editorial.css */
/* V181: editorial image rhythm, mobile readability */
.v60-study-figure,.article-visual,.v172-figure,.v175-teaching-diagram,.v176-teaching-diagram{margin:clamp(22px,4vw,40px) auto!important;max-width:760px;clear:both}
.v60-study-figure img,.article-visual img,.v172-figure img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;object-position:center;border-radius:14px;background:#f3f5f6}
.v60-study-figure figcaption,.article-visual figcaption,.v172-figure figcaption{font-size:.92rem;line-height:1.55;margin:.65rem .4rem;color:#465568}
@media(max-width:680px){.v60-study-figure,.article-visual,.v172-figure{margin:26px auto!important}.v60-study-figure img,.article-visual img,.v172-figure img{max-height:340px;object-fit:contain}.v60-study-figure figcaption,.article-visual figcaption{font-size:.88rem}}


/* /v182-image-editorial.css */
/* V182: Keep portrait photographs readable without filling the entire mobile viewport. */
@media(max-width:700px){
  main figure{margin:1.5rem auto 2rem;max-width:100%}
  main figure img{display:block;max-width:100%;height:auto;object-fit:contain;margin-inline:auto}
  main figure img:not(.v182-diagram){max-height:620px;width:auto}
  main figure img.v182-diagram{width:100%;height:auto;max-height:none}
  main figure figcaption{font-size:.91rem;line-height:1.55;margin-top:.65rem}
}


/* /v183-image-editorial.css */
/* V183: responsive editorial image sizing; avoid cropping mathematical diagrams. */
@media(max-width:700px){
 main figure{max-width:100%;margin:1.6rem auto 2.1rem}
 main figure img{display:block;max-width:100%;height:auto;object-fit:contain;margin-inline:auto}
 main figure img[src$=".jpg"],main figure img[src$=".jpeg"],main figure img[src$=".webp"]{max-height:min(66vh,480px);width:auto}
 main figure img[src$=".svg"],main figure img[src$=".png"]{max-height:none;width:100%;height:auto}
 main figure figcaption{font-size:.9rem;line-height:1.55;margin-top:.6rem}
}


/* /v184-image-reading.css */
/* V184: image legibility and balanced reading rhythm */
main figure{max-width:100%;break-inside:avoid;margin-block:clamp(1.5rem,3vw,2.3rem)}
main figure img{display:block;max-width:100%;height:auto;object-fit:contain;margin-inline:auto}
main figure figcaption{font-size:.92rem;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:700px){main figure img[src$=".jpg"],main figure img[src$=".jpeg"],main figure img[src$=".webp"]{max-height:440px;width:auto;max-width:100%;object-fit:contain}main figure{margin-block:1.7rem 2rem}main figure figcaption{font-size:.88rem}}


/* /v188-natural-images.css */
/* V188: preserve natural framing and reduce visual fatigue across articles. */
main figure.v188-natural-figure{display:block;max-width:min(100%,780px);margin:clamp(2rem,4vw,3rem) auto;padding:clamp(.75rem,2vw,1.2rem);background:#f7f8fb;border-radius:18px;break-inside:avoid}
main figure.v188-natural-figure img.v188-natural-image{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center center!important;margin-inline:auto!important;border-radius:12px}
main figure.v188-natural-figure figcaption{font-size:.92rem;line-height:1.6;color:#536071;margin:1rem .2rem .1rem;overflow-wrap:break-word}
@media(max-width:700px){main figure.v188-natural-figure{margin:2rem auto!important;padding:.6rem!important;border-radius:14px}main figure.v188-natural-figure img.v188-natural-image{max-height:420px!important;max-width:100%!important;object-fit:contain!important}main figure.v188-natural-figure figcaption{font-size:.85rem;line-height:1.55}}
/* SVG math diagrams must remain fully visible. */
main figure.v188-natural-figure img.v188-natural-image[src$=".svg"]{max-height:none!important}


/* /v189-image-editorial.css */
/* V189: editorial photographs keep their complete original framing. */
main figure.v189-figure{max-width:760px;margin:clamp(2rem,4vw,3.2rem) auto;padding:clamp(.65rem,1.8vw,1rem);background:#f7f8fb;border-radius:16px;break-inside:avoid}
main figure.v189-figure img.v189-photo-safe{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;aspect-ratio:auto!important;clip-path:none!important;margin-inline:auto!important;border-radius:12px}
main figure.v189-figure figcaption{font-size:.9rem;line-height:1.55;color:#4b5563;margin:.8rem .2rem .15rem}
@media(max-width:700px){main figure.v189-figure{max-width:100%;margin:2.25rem auto;padding:.55rem}main figure.v189-figure img.v189-photo-safe{max-height:350px!important;width:auto!important;height:auto!important;object-fit:contain!important}main figure.v189-figure img.v189-photo-safe[src$=".svg"]{max-height:none!important}main figure.v189-figure figcaption{font-size:.88rem}}


/* /v190-natural-photos.css */
/* V190: display complete photographs, never crop people or formulas. */
main figure.v190-figure{box-sizing:border-box;max-width:720px;margin:clamp(2.4rem,5vw,4rem) auto;padding:clamp(.5rem,1.5vw,1rem);background:#f7f8fb;border-radius:16px;overflow:visible;break-inside:avoid}
main figure.v190-figure img{display:block!important;box-sizing:border-box;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important;border-radius:12px;margin-inline:auto!important}
main figure.v190-figure figcaption{font-size:.92rem;line-height:1.55;color:#475569;margin:.8rem .25rem .1rem}
@media(max-width:700px){main figure.v190-figure{width:100%;margin:2.4rem auto;padding:.5rem}main figure.v190-figure img:not([src$=".svg"]){max-height:380px!important}main figure.v190-figure figcaption{font-size:.9rem}}


/* /v191-natural-editorial.css */
/* V191: editorial photo treatment; no cropping of original content */
main figure.v191-natural-frame,article figure.v191-natural-frame,section figure.v191-natural-frame{display:block;max-width:760px;width:100%;margin:clamp(1.7rem,4vw,3rem) auto;box-sizing:border-box;clear:both}
figure.v191-natural-frame img{display:block;width:100%;max-width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;border-radius:14px}
figure.v191-natural-frame figcaption{font-size:clamp(.92rem,2.6vw,1.04rem);line-height:1.6;max-width:68ch;margin:.8rem auto 0;color:#4a5867}
@media(max-width:600px){figure.v191-natural-frame{margin:1.8rem auto!important;padding:12px!important}figure.v191-natural-frame img{border-radius:12px}}


/* /v192-image-integrity.css */
/* V192: preserve complete photos and diagrams on mobile and desktop */
html{overflow-x:clip}
main figure,article figure,.article-content figure,.content figure{max-width:min(100%,780px);box-sizing:border-box;overflow:visible!important}
main figure img,article figure img,.article-content figure img,.content figure img,
main picture img,article picture img{display:block;max-width:100%!important;width:auto!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center center!important;clip-path:none!important;transform:none!important;margin-inline:auto}
main figure,article figure{height:auto!important;min-height:0!important;aspect-ratio:auto!important}
main figure figcaption,article figure figcaption{height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.55}
@media(max-width:680px){main figure,article figure,.article-content figure{width:100%!important;max-width:100%!important;margin:1.35rem auto!important;padding:8px!important}main figure img,article figure img{max-height:none!important;width:100%!important;height:auto!important;object-fit:contain!important}main figure figcaption,article figure figcaption{font-size:.91rem!important;margin-top:.6rem!important}}
/* SVG math figures: prevent distortions */
figure img[src$=".svg"]{object-fit:contain!important;max-height:520px!important}


/* /v193-mobile-editorial.css */
/* V193: editorial images - readable on small screens, never crop math content */
@media(max-width:680px){
 main figure,article figure,.article-content figure,.content figure{width:100%!important;max-width:100%!important;padding:12px!important;margin:1.15rem auto 1.5rem!important;box-sizing:border-box!important}
 main figure img:not([src$=".svg"]),article figure img:not([src$=".svg"]),.article-content figure img:not([src$=".svg"]){display:block!important;width:auto!important;max-width:100%!important;max-height:470px!important;height:auto!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important}
 main figure img[src$=".svg"],article figure img[src$=".svg"]{width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important}
 main figure figcaption,article figure figcaption{font-size:.9rem!important;line-height:1.5!important;padding:0 4px!important;margin-top:.7rem!important}
}
@media(min-width:681px){main figure img:not([src$=".svg"]),article figure img:not([src$=".svg"]){max-height:680px!important;width:auto!important;max-width:100%!important;height:auto!important;object-fit:contain!important;margin-inline:auto!important}}


/* /v194-uncropped-images.css */
/* V194: show entire original image; no cropping, no fixed image box */
main figure,article figure,.content figure,.article-content figure{height:auto!important;max-height:none!important;overflow:visible!important;aspect-ratio:auto!important;clip-path:none!important}
main figure img,article figure img,.content figure img,.article-content figure img,main figure picture,article figure picture{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important;margin-inline:auto!important}
main figure img[src$=".svg"],article figure img[src$=".svg"]{width:100%!important;max-height:none!important}
main figure figcaption,article figure figcaption{line-height:1.55!important;overflow-wrap:break-word}
@media(max-width:680px){main figure,article figure,.content figure{max-width:100%!important;padding:10px!important;margin:1.4rem auto!important}main figure img,article figure img{width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}main figure figcaption,article figure figcaption{font-size:.88rem!important}}


/* /v195-editorial-seo.css */
/* V195: photo framing without cropping and accessible editorial captions */
@media(max-width:700px){main figure,article figure{box-sizing:border-box;max-width:100%;margin:1.25rem auto!important;padding:12px!important}main figure img,article figure img{display:block;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important;border-radius:12px}main figure figcaption,article figure figcaption{font-size:.92rem!important;line-height:1.55!important;margin-top:.7rem!important}main h2,article h2{overflow-wrap:break-word}main,article{min-width:0}}
main figure img,article figure img{image-orientation:from-image;object-fit:contain!important;object-position:center!important;clip-path:none!important}


/* /v198-editorial-image-seo.css */
/* V198: uncut responsive editorial media; original pixels are never cropped */
main figure img, article figure img, .article figure img, .content figure img, .seo-figure img {object-fit:contain!important;object-position:center center!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;display:block;margin-inline:auto}
main figure,article figure,.article figure,.content figure{height:auto!important;max-height:none!important;overflow:visible!important;break-inside:avoid;margin-block:clamp(22px,4vw,42px)!important}
main figure figcaption,article figure figcaption{max-width:68ch;margin:10px auto 0;text-align:center;line-height:1.55;color:#536575;font-size:.92rem}
@media(max-width:700px){main figure img,article figure img,.article figure img,.content figure img{max-width:min(100%,620px)!important}main figure img[src$=".jpg"],main figure img[src$=".jpeg"],main figure img[src$=".webp"],article figure img[src$=".jpg"],article figure img[src$=".webp"]{max-width:min(100%,480px)!important}main figure,article figure{margin-block:26px!important}}
@media(prefers-reduced-motion:reduce){main figure img,article figure img{transition:none!important}}


/* /v199-media-stability.css */
/* V199 — stable responsive media, appended after legacy styles */
:root{--v199-media-radius:16px}
main figure,main .seo-figure,article figure{box-sizing:border-box;min-width:0;max-width:100%;height:auto!important;max-height:none!important;overflow:visible!important}
main figure img,article figure img,main .seo-figure img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;margin-inline:auto;border-radius:var(--v199-media-radius)}
main figure figcaption,article figure figcaption{overflow-wrap:anywhere;text-wrap:pretty;max-width:68ch;margin:12px auto 0;line-height:1.55}
main figure svg,article figure svg{max-width:100%;height:auto}
@media(max-width:720px){main figure,article figure{margin:22px 0!important;padding:clamp(10px,3vw,16px)!important}main figure img,article figure img{max-width:100%!important}main figure figcaption,article figure figcaption{text-align:left;font-size:.92rem}main h1,main h2,main h3{overflow-wrap:break-word}main table{display:block;max-width:100%;overflow-x:auto}}
@media(prefers-reduced-motion:reduce){main figure img,article figure img{animation:none!important;transition:none!important}}


/* /v217-mobile-reading-global.css */
/* V217: a single mobile reading guard for every local and knowledge article. */
@media (max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important;}
  main{width:100%;max-width:100%;min-width:0;}
  main :where(article,.article-body,.content,.wrap,section,.card,figure,ol,ul,table,pre){
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  main :where(article.content.wrap,.article-body.wrap,.content.wrap,.wrap.content){
    width:calc(100% - 32px)!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }
  main :where(h1,h2,h3,h4,p,li,figcaption,summary,a){
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  main :where(p,li){line-height:1.72;}
  main :where(h1,h2,h3,h4){line-height:1.22;}
  main :where(img,svg,video,iframe){display:block;max-width:100%;height:auto;}
  main :where(table,pre){display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  main :where(.card){padding:20px;}
}


/* /v218-mobile-layout-repair.css */
/* V218: the article templates used by the local-area pages need a real mobile
   reading frame.  This is deliberately limited to small screens. */
@media (max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:clip!important;}

  /* A sticky header can cover the first line of a heading while the reader
     scrolls.  On a phone it is clearer to let it move with the document. */
  body.v140-article header{position:relative!important;top:auto!important;}

  /* All article variants receive the same 20px safe reading gutter, including
     old templates whose main or article element is also the .wrap element. */
  main.wrap.content,
  main > article.content,
  main > article.wrap.content,
  main > .content,
  main > .article-content{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    padding-inline:20px!important;
  }

  main > .hero > .wrap{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    padding-inline:20px!important;
  }

  main :where(article,.content,.article-content,section,.card,figure,ol,ul,li,p,h1,h2,h3,h4,table,pre){
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  main :where(h1,h2,h3,h4,p,li,a,figcaption){
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  main :where(p,li){font-size:16px!important;line-height:1.72!important;}
  main h1{font-size:clamp(30px,9vw,40px)!important;line-height:1.14!important;}
  main h2{font-size:clamp(25px,7.2vw,32px)!important;line-height:1.22!important;}
  main h3{font-size:clamp(21px,6vw,27px)!important;line-height:1.28!important;}

  main :where(.card){margin-inline:0!important;padding:20px 18px!important;}
  main :where(ul,ol){padding-left:1.3rem!important;}
  main :where(img,svg,video,iframe){display:block;max-width:100%!important;height:auto!important;}
  main :where(table,pre){display:block;overflow-x:auto!important;-webkit-overflow-scrolling:touch;}

  /* Anchor navigation must still leave the heading fully visible. */
  main :where(h1,h2,h3,h4,[id]){scroll-margin-top:16px!important;}
}

