/* Static inert shell; no ad code, remote resource, tracking or consent dependency. */
body > main { width:min(calc(100% - 3rem),112rem); max-width:none; min-width:0; }
.webut-public-shell-grid { box-sizing:border-box; display:grid; width:min(100%,112rem); min-width:0; margin-inline:auto; grid-template-columns:minmax(8rem,9rem) minmax(0,78rem) minmax(8rem,9rem); grid-template-areas:"left intro right" "left after right" "left content right"; justify-content:center; align-items:start; gap:1rem 1.25rem; }
.webut-public-shell-grid__intro { grid-area:intro; min-width:0; } .webut-public-shell-grid__after-intro { grid-area:after; min-width:0; } .webut-public-shell-grid__content { grid-area:content; min-width:0; } .webut-public-shell-grid__content>.webut-public-shell-grid__after-intro { margin-block:.8rem; } .webut-public-shell-grid--home { grid-template-areas:"left intro right" "left content right"; }
.webut-public-shell-grid--legacy-guide { grid-template-areas:"left content right"; }
.webut-public-shell-grid__rail { display:block; min-width:0; align-self:stretch; } .webut-public-shell-grid__rail--left { grid-area:left; } .webut-public-shell-grid__rail--right { grid-area:right; }
.webut-ad-slot { box-sizing:border-box; min-width:0; overflow-wrap:anywhere; border:1px solid #cbd8c3; border-radius:.85rem; background:#f3f6ec; color:#345344; }
.webut-ad-slot__label { display:block; margin-block-end:.35rem; font-size:.76rem; font-weight:700; letter-spacing:.035em; } .webut-ad-slot p { margin:0; max-width:58ch; font-size:.83rem; line-height:1.45; }
.webut-ad-slot--rail { min-height:6rem; padding:.8rem; } .webut-ad-slot--banner { display:flex; min-height:5.5rem; flex-direction:column; justify-content:center; margin-block:.4rem; padding:.85rem 1rem; }
.webut-public-shell-footer-slot { box-sizing:border-box; width:min(calc(100% - 2rem),78rem); min-width:0; margin-inline:auto; }
.webut-guide-related-heading { margin:0 0 .75rem; } .webut-guide-related-context { margin:.25rem 0 1rem; max-width:68ch; } .webut-guide-tool-artwork { display:block; width:min(100%,24rem); margin:1rem 0 1.25rem; } .webut-guide-tool-artwork svg,.tool-scene svg { display:block; width:100%; height:auto; }
.webut-public-shell-grid__content,.webut-public-shell-grid__intro,.webut-public-shell-grid__after-intro,.webut-public-shell-grid__rail { overflow-wrap:anywhere; }
@media(max-width:105rem){body>main{width:min(calc(100% - 2rem),78rem)}.webut-public-shell-grid{width:100%;grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "after" "left" "content" "right";gap:.8rem}.webut-public-shell-grid--home{grid-template-areas:"intro" "left" "content" "right"}.webut-public-shell-grid--legacy-guide{grid-template-areas:"left" "content" "right"}.webut-public-shell-grid__rail{align-self:auto}.webut-ad-slot--rail{min-height:0;padding:.65rem .8rem}.webut-ad-slot--banner{min-height:4.5rem;margin-block:.25rem;padding:.7rem .85rem}}
@media(max-width:38rem){body>main{width:calc(100% - 1rem)}.webut-public-shell-footer-slot{width:calc(100% - 1rem)}.webut-public-shell-grid{gap:.65rem}.webut-ad-slot--rail{padding:.55rem .65rem}.webut-ad-slot__label{margin-block-end:.2rem}.webut-ad-slot p{font-size:.78rem}}

/* Responsive related-reading cards: constrain intrinsic image dimensions to their article container. */
.webut-guide-detail-layout__related { box-sizing:border-box; min-width:0; max-width:100%; overflow-wrap:anywhere; }
.webut-guide-detail-layout__related .webut-related-article { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.webut-guide-detail-layout__related .webut-related-article__figure { box-sizing:border-box; min-width:0; max-width:100%; margin-inline:0; }
.webut-guide-detail-layout__related .webut-related-article__figure > a { display:block; max-width:100%; }
.webut-guide-detail-layout__related .webut-related-article__figure img { display:block; max-width:100%; height:auto; }

/* Related article sits beside guide details when space allows and stacks on narrow screens. */
.nmg-detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(15rem,1fr);gap:1.5rem;align-items:start}.nmg-detail-layout>*{min-width:0}.nmg-related{overflow-wrap:anywhere}.nmg-related figure{margin:0 0 1rem}.nmg-related img{display:block;width:100%;height:auto;background:#fff}.nmg-related figcaption{font-size:.8rem;line-height:1.45;margin-top:.5rem}@media(max-width:55rem){.nmg-detail-layout{grid-template-columns:minmax(0,1fr)}}
