/* Translated copy can grow without clipping. Never mirror anatomical artwork. */
html:not([lang="de"]) .anatomy-page :is(h1,h2,h3,h4,p,a,button){overflow-wrap:break-word}
html:not([lang="de"]) .anatomy-page .apps-button{height:auto;white-space:normal;text-align:center}
html:not([lang="de"]) .anatomy-page .dissection-product-tag{white-space:normal!important;max-width:100%;line-height:1.5!important}
html[dir="rtl"] .anatomy-page{direction:rtl}
html[dir="rtl"] .anatomy-page #am-hero-grey .hero-copy :is(h1,p){text-align:right!important;letter-spacing:normal!important}
html[dir="rtl"] .anatomy-page :is(h1,h2,h3,h4){letter-spacing:normal!important;line-height:1.45!important}
html[dir="rtl"] .anatomy-page :is(.hero-copy,.content-editorial,.unified-layer-details){text-align:start}
html[dir="rtl"] .anatomy-page .hero-copy,.anatomy-page .am-hero-artlayers{direction:ltr}
html[dir="rtl"] .anatomy-page #am-hero-grey .hero-copy :is(h1,p){direction:rtl}
html[dir="rtl"] .anatomy-page #am-hero-grey .apps-actions{direction:rtl;justify-content:flex-start}
html[dir="rtl"] .anatomy-page .dissection-story-stage{direction:ltr}
html[dir="rtl"] .anatomy-page .unified-study-layout{direction:ltr}
html[dir="rtl"] .anatomy-page .unified-layer-details{direction:rtl}
html[dir="rtl"] .anatomy-page .unified-layer-details p.unified-layer-terms{direction:ltr;text-align:right!important;unicode-bidi:isolate}
html[dir="rtl"] .anatomy-page #am-content-variant [data-unified-models] button{direction:rtl}
html[dir="rtl"] .anatomy-page .anatomy-lightbox{direction:rtl}
html[dir="rtl"] .anatomy-page .anatomy-lightbox-image{direction:ltr}
html[dir="rtl"] .anatomy-page [data-lightbox-step]{transform:scaleX(-1)}
html[dir="rtl"] .anatomy-page [data-lightbox-step="1"]{left:20px;right:auto}
html[dir="rtl"] .anatomy-page [data-lightbox-step="-1"]{right:20px;left:auto}
@media(max-width:700px){html[dir="rtl"] .anatomy-page [data-lightbox-step="1"]{left:8px}html[dir="rtl"] .anatomy-page [data-lightbox-step="-1"]{right:8px}}
html[lang="hi"] .anatomy-page :is(h1,h2,h3,h4){letter-spacing:normal!important;line-height:1.4!important}

/* Keep the authored head on its original side; only the text reads right to left. */
html[dir="rtl"] .anatomy-page #am-hero-grey .dissection-story-intro{direction:ltr!important}
html[dir="rtl"] .anatomy-page [data-lightbox-step]{transform:translateY(-50%) scaleX(-1)}
html[dir="rtl"] .anatomy-page #am-hero-grey,html[dir="rtl"] .anatomy-page #am-hero-grey .dissection-story-sticky{direction:ltr!important}
