/* Reading layout follows the site's typography and keeps sticky rails inside the article. */
body.wd-reading-page{overflow-x:clip;--wd-reading-offset:110px}
.wd-reading-page main,.wd-reading-page .wd-article{overflow:visible}
.wd-reading-page .wd-editorial-shell{width:min(1440px,calc(100% - 96px))}
.wd-reading-page .wd-article__header{max-width:none;margin-bottom:64px}
.wd-reading-heading{max-width:1000px;margin:40px auto}
.wd-reading-heading h1{max-width:1000px;font-size:48px;line-height:1.15}
.wd-reading-heading .wd-article__intro{max-width:850px;font-size:18px;line-height:1.7}
.wd-reading-cover{margin:40px 0 0}
.wd-reading-page .wd-article__cover{max-height:640px;aspect-ratio:16/9;margin:0;width:100%;object-position:center 47%}
.wd-reading-cover figcaption{font:12px/1.5 Arial,sans-serif;color:#67645d;margin-top:10px}
.wd-reading-page .wd-article__layout{grid-template-columns:minmax(170px,220px) minmax(0,760px) minmax(210px,270px);gap:40px;align-items:stretch;justify-content:center}
.wd-reading-page .wd-article__body{min-width:0}
.wd-reading-page .wd-article__body section{scroll-margin-top:calc(var(--wd-reading-offset) + 24px)}
.wd-reading-page .wd-article__body h2{font-size:28px}
.wd-reading-page .wd-article__body h3{font-size:22px}
.wd-reading-page .wd-article__body p,.wd-reading-page .wd-article__body li{font-size:17px;line-height:1.8}
.wd-reading-page .wd-article__index{align-self:start;position:sticky;top:var(--wd-reading-offset);padding-top:0;border-top:0;max-height:calc(100dvh - var(--wd-reading-offset) - 24px);overflow:auto}
.wd-reading-toc{border-top:1px solid #c2af92;border-bottom:1px solid #dedad4}
.wd-reading-toc summary{font-size:16px;font-weight:700;cursor:pointer;padding:18px 0;min-height:44px;line-height:1.5}
.wd-reading-page .wd-article__index ol{list-style:none;padding:0 0 18px;margin:0;counter-reset:sections}
.wd-reading-page .wd-article__index li{padding:0;font-size:14px;line-height:1.6}
.wd-reading-toc a{display:block;padding:10px 10px 10px 14px;border-left:2px solid transparent;color:#625e57;text-decoration:none}
.wd-reading-toc a[aria-current="location"]{border-left-color:#527063;color:#171612;background:#f5f6f4;font-weight:700}
.wd-reading-toc summary:focus-visible{outline:2px solid #527063;outline-offset:-2px}
.wd-reading-page .wd-article__body section:focus{outline:none}
.wd-reading-heading .wd-article__byline a{text-decoration:underline;text-underline-offset:3px}
body.wd-menu-open .wd-article__index{visibility:hidden}
.wd-reading-toc a:focus-visible,.wd-photo-open:focus-visible{outline:2px solid #527063;outline-offset:3px}
.wd-reading-progress{display:block;width:100%;height:3px;margin-top:18px;border:0;accent-color:#527063;background:#eee}
.wd-reading-progress[hidden]{display:none}
.wd-reading-progress::-webkit-progress-bar{background:#eee}
.wd-reading-progress::-webkit-progress-value{background:#527063}
.wd-reading-photo{margin:32px 0 0}
.wd-photo-open{display:block;position:relative}
.wd-reading-photo img{width:100%;height:auto;display:block;aspect-ratio:3/2;object-fit:cover}
.wd-photo-zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;background:#fff;color:#171612;font:26px/1 Arial,sans-serif;box-shadow:0 1px 6px #0002}
.wd-reading-photo figcaption{margin-top:12px;font:13px/1.65 Arial,sans-serif;color:#514b43}
.wd-reading-photo figcaption span{display:block;font-size:11px;margin-top:5px;color:#74716a}
.wd-reading-sidebar{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.wd-reading-more{padding-top:18px;border-top:1px solid #c2af92;margin-bottom:32px}
.wd-reading-more h2{font-size:17px;font-weight:700;line-height:1.4;margin:0 0 12px}
.wd-reading-more ul{list-style:none;margin:0 0 16px;padding:0}
.wd-reading-more li{padding:16px 0;border-bottom:1px solid #e7e5e1;font-size:14px;line-height:1.65}
.wd-reading-more>a{font-size:13px;text-decoration:underline;text-underline-offset:4px}
.wd-reading-more a:hover{text-decoration:underline}
.wd-reading-banner{position:sticky;top:var(--wd-reading-offset);background:#292b27;color:#fff}
.wd-reading-banner.wd-reading-banner--static{position:static}
.wd-reading-banner>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.wd-reading-banner>div{padding:24px 20px}
.wd-reading-banner .wd-blog__kicker{font-size:10px;color:#d5c7b0}
.wd-reading-banner h2{font-size:25px;line-height:1.25;font-weight:400;margin:0 0 16px;letter-spacing:0}
.wd-reading-banner p{font-size:14px;line-height:1.6;color:#e7e5df}
.wd-reading-banner a{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 8px;min-height:48px;background:#466354;margin-top:24px;color:#fff;font:13px/1.4 Arial,sans-serif;text-decoration:none}
.wd-reading-banner a:hover{background:#3a5447}
.wd-reading-related{border-top:1px solid #dedad4;margin-top:60px;padding-top:60px}
.wd-reading-related h2{font-size:34px;font-weight:400;line-height:1.2;letter-spacing:0}
.wd-reading-related .wd-blog__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;max-width:1040px}
.wd-photo-dialog{padding:0;border:0;background:#171817;color:#fff;max-width:96vw;max-height:96dvh;width:1100px}
.wd-photo-dialog::backdrop{background:#000d}
.wd-photo-dialog figure{margin:0;padding:60px 24px 24px}
.wd-photo-dialog img{display:block;width:100%;height:auto;max-height:72dvh;object-fit:contain}
.wd-photo-dialog figcaption{font:14px/1.6 Arial,sans-serif;margin:18px auto 0;max-width:760px}
.wd-photo-dialog button{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:40px;height:40px;background:#fff;color:#171612;border:0;cursor:pointer}
.wd-photo-dialog button svg{width:22px;height:22px}
body.wd-photo-modal-open{overflow:hidden}
@media(max-height:650px){.wd-reading-banner{position:static}}
@media(max-width:1200px){.wd-reading-page .wd-editorial-shell{width:calc(100% - 64px)}.wd-reading-page .wd-article__layout{gap:28px;grid-template-columns:160px minmax(0,1fr) 210px}.wd-reading-banner>div{padding:20px 16px}}
@media(max-width:1100px){
  .wd-reading-page .wd-article__layout{grid-template-columns:minmax(0,1fr) 240px;gap:32px}
  .wd-reading-page .wd-article__index{grid-column:1/-1;z-index:100;top:var(--wd-reading-offset);background:#fff;max-height:min(60dvh,calc(100dvh - var(--wd-reading-offset) - 90px));border:1px solid #dedad4;box-shadow:0 2px 4px #0001;padding:0 18px}
  .wd-reading-page .wd-article__index li{font-size:16px}
  .wd-reading-toc a{min-height:44px}
  .wd-reading-toc{border:0}.wd-reading-toc summary{padding:13px 0}.wd-reading-progress{margin:0;height:2px}
  .wd-reading-page .wd-article__body section{scroll-margin-top:calc(var(--wd-reading-offset) + 86px)}
  .wd-reading-heading h1{font-size:42px}.wd-reading-page .wd-article__header{margin-bottom:36px}
}
@media(max-width:800px){
  .wd-reading-page .wd-editorial-shell{width:calc(100% - 40px)}
  .wd-reading-page .wd-article__layout{grid-template-columns:minmax(0,1fr);gap:32px}
  .wd-reading-heading{margin:26px 0 32px}.wd-reading-heading h1{font-size:34px}
  .wd-reading-heading .wd-article__intro{font-size:17px}.wd-reading-page .wd-article__byline{font-size:12px;line-height:1.6}
  .wd-reading-cover{margin-top:28px}.wd-reading-page .wd-article__cover{aspect-ratio:4/3;max-height:none}
  .wd-reading-page .wd-article__body h2{font-size:27px}.wd-reading-sidebar{gap:20px}
  .wd-reading-banner{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:center}
  .wd-reading-banner>img{height:100%;aspect-ratio:3/4}.wd-reading-banner>div{padding:24px}
  .wd-reading-related{margin-top:48px;padding-top:40px}.wd-reading-related .wd-blog__grid{gap:36px}
  .wd-reading-related h2{font-size:30px}.wd-reading-related .wd-blog__heading{align-items:start;flex-direction:column;gap:18px}
}
@media(max-width:760px){body.wd-reading-page{--wd-reading-offset:72px}}
@media(max-width:540px){.wd-reading-related .wd-blog__grid{grid-template-columns:1fr}.wd-reading-banner{display:block}.wd-reading-banner>img{height:auto;aspect-ratio:16/9}.wd-reading-banner h2{font-size:26px}.wd-photo-dialog figure{padding:60px 14px 20px}}
@media(max-width:380px){.wd-reading-page .wd-editorial-shell{width:calc(100% - 32px)}.wd-reading-heading h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){html:has(.wd-reading-page){scroll-behavior:auto!important}}
