/* The reading order is identical in HTML, on narrow screens and in RTL. */
.rx-story-page{--rx-ink:#182c39;--rx-muted:#485b67;--rx-rule:#d2dce2;--rx-link:#15588d;--rx-tint:#f2f6f9}
.rx-story-page main .rx-story{width:100%;max-width:60rem;margin-inline:auto;padding:clamp(1rem,4vw,3rem) 0;color:var(--rx-ink);text-align:start;overflow-wrap:break-word;line-height:1.65}
.rx-story-page main .rx-head,.rx-story-page main .rx-story>header{max-width:48rem;margin-inline:0}
.rx-story-page main .rx-story h1{font-size:clamp(1.85rem,4.4vw,3.25rem);line-height:1.19;letter-spacing:-.026em;text-wrap:balance;margin: .55em 0 .4em}
.rx-story-page .rx-story .rx-lead,.rx-story-page .rx-story .guide-intro-copy{font-size:clamp(1.02rem,1.9vw,1.17rem);line-height:1.7;max-width:65ch;margin:.5rem 0 .8rem}
.rx-story-page .rx-story .source-byline,.rx-story-page .rx-story .rx-by{color:var(--rx-muted);font-size:.84rem;margin:.65rem 0 1rem}
.rx-story-page .rx-context{margin:1.35rem 0 2rem;padding:clamp(1rem,2.6vw,1.8rem);border-inline-start:4px solid #38789f;background:var(--rx-tint);border-radius:0 8px 8px 0}
.rx-story-page .rx-context:has(figure){display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:clamp(1rem,3.5vw,2.3rem)}
.rx-story-page .rx-context h2,.rx-story-page .rx-delivery h2{font-size:clamp(1.23rem,2.1vw,1.62rem);line-height:1.34;letter-spacing:-.012em;margin:0 0 .6rem;text-wrap:pretty}
.rx-story-page .rx-context p,.rx-story-page .rx-delivery p{margin:.55rem 0 0;line-height:1.68;max-width:67ch}
.rx-story-page .rx-context figure{margin:0;max-width:30rem}
.rx-story-page .rx-context figure img{display:block;width:100%;height:auto;border-radius:6px}
.rx-story-page .rx-context figcaption,.rx-story-page .rx-media figcaption{font-size:.84rem;line-height:1.45;color:var(--rx-muted);padding:.4rem 0;text-align:start}
.rx-story-page .rx-story ol.rx-steps{display:block;list-style:none;margin:0;padding:0;counter-reset:rx-n}
.rx-story-page .rx-story .rx-steps>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);column-gap:clamp(1.5rem,5vw,4.5rem);align-items:start;padding:clamp(1.4rem,4vw,2.6rem) 0;margin:0;border:0;border-top:1px solid var(--rx-rule);counter-increment:rx-n}
.rx-story-page .rx-story .rx-steps h2{font-size:clamp(1.16rem,2.1vw,1.45rem);display:block;line-height:1.42;margin:0 0 .45rem;font-weight:680}
.rx-story-page .rx-story .rx-steps h2:before{content:counter(rx-n) ".";color:var(--rx-link);font-size:1em;font-weight:650;margin-inline-end:.45em}
.rx-story-page .rx-story .rx-steps p{font-size:1.02rem;line-height:1.7;margin:0;max-width:61ch}
.rx-story-page .rx-story .rx-media{display:grid;justify-items:start;align-items:start;gap:.65rem;min-width:0}
.rx-story-page .rx-story .rx-media figure,.rx-story-page .rx-story .rx-media figure+figure{margin:0;text-align:start}
.rx-story-page .rx-story .rx-media a{display:block;width:fit-content;max-width:100%}
.rx-story-page .rx-story .rx-media img,.rx-story-page .rx-story .rx-media video{display:block;max-width:100%;width:auto;height:auto;max-height:23rem;margin:0;object-fit:contain;border-radius:5px}
.rx-story-page .rx-story .rx-media img[data-cropped]{width:100%;max-height:none}
.rx-story-page .rx-media figure:has(img[data-cropped]){width:min(100%,23rem)}
.rx-story-page .rx-story .rx-media video{max-height:21rem}
.rx-story-page .rx-story .rx-delivery{border-block:1px solid var(--rx-rule);margin:1rem 0 1.25rem;padding:1.2rem 0;color:var(--rx-ink)}
.rx-story-page .rx-links a,.rx-story-page .rx-story aside a{color:var(--rx-link);text-underline-offset:.2em}
.rx-story-page .rx-story .rx-text-steps>li{display:block;padding:1.3rem 0}
.rx-story-page .rx-story:not(.rx-article){max-width:50rem}
.rx-story-page :is(a,summary):focus-visible,.rapixa-page .rx-tasks a:focus-visible{outline:3px solid #1263a4;outline-offset:3px}
.rapixa-page #tutorials.rx-tasks{background:#f4f7f9;padding-block:clamp(2rem,5vw,4.5rem)}
.rapixa-page .rx-tasks h2{text-align:start;max-width:46rem;margin-inline:0;line-height:1.2}
.rapixa-page .rx-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(2rem,5vw,5rem);list-style:none;padding:0;margin:1.2rem 0 0}
.rapixa-page .rx-task-list li{border-top:1px solid #bfccd5;padding:1rem 0 1.35rem;min-width:0}
.rapixa-page .rx-task-list a{display:block;color:#124f82;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;font-size:clamp(1.07rem,1.9vw,1.34rem);font-weight:650;line-height:1.45}
.rapixa-page .rx-task-list p{margin:.5rem 0 0;max-width:58ch;line-height:1.65;color:#344858}
@media(max-width:680px){.rx-story-page .rx-context:has(figure),.rx-story-page .rx-story .rx-steps>li,.rapixa-page .rx-task-list{grid-template-columns:1fr}.rx-story-page .rx-story .rx-media{margin-top:.85rem}.rx-story-page .rx-context figure{width:100%;max-width:23rem}.rx-story-page .rx-story .rx-media img,.rx-story-page .rx-story .rx-media video{max-height:21rem}.rx-story-page .rx-story .rx-media img[data-cropped]{max-height:none}.rx-story-page main .rx-story{padding-top:1rem}}
:lang(lo) .rx-story p,:lang(th) .rx-story p{line-height:1.85}

.rx-story-page .rx-context .rx-prerequisite{font-size:.93rem;color:var(--rx-muted);line-height:1.55;margin-top:.8rem}
.rx-story-page [id^="step-"],.rapixa-page :is(#tutorials,#photo-video-options){scroll-margin-top:8rem}
