/* Shared reading layout for the four Darkbats editions. Protected book apps excluded. */
/* WordPress link previews keep their own size and sit in the article centre. */
html:root[data-world] .prose iframe.wp-embedded-content{display:block;float:none!important;margin-inline:auto!important;max-width:100%!important;box-sizing:border-box}
html:root[data-world] .prose .wp-block-embed:has(iframe.wp-embedded-content){float:none!important;clear:both;width:100%;max-width:100%;margin-inline:auto!important}
html:root[data-world] .prose blockquote.wp-embedded-content{float:none!important;margin-inline:auto!important;text-align:center}
/* Inline WordPress symbols are typography, not framed article photographs. */
html:root[data-world] body.single-post .reading-layout .full-story .prose img:is(.emoji,.wp-smiley){display:inline!important;width:1em!important;height:1em!important;max-width:1em!important;max-height:1em!important;min-height:0!important;margin:0 .07em!important;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;background:none!important;vertical-align:-.1em!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose{max-width:none;width:100%;margin:24px auto;font-size:clamp(17px,1.35vw,20px);line-height:1.75}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(h1,h2,h3,h4,h5,h6){text-align:center!important;text-wrap:balance;max-width:32ch;margin:1.65em auto .7em!important;line-height:1.25;overflow-wrap:break-word;clear:both}
html:root[data-world] .reading-layout.db-editorial .full-story .prose h2{font-size:clamp(25px,2.1vw,32px)}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(h3,h4,h5,h6){font-size:clamp(21px,1.7vw,26px)}
html:root[data-world] .reading-layout.db-editorial .full-story .prose p{max-width:80ch;margin:0 auto 1em!important;line-height:1.75;overflow-wrap:break-word}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(ul,ol){max-width:78ch;margin:1em auto 1.5em;padding-inline-start:1.3em;line-height:1.65}
html:root[data-world] .reading-layout.db-editorial .full-story .prose li+li{margin-top:.45em}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-article-intro{font-size:1.12em;line-height:1.65}
html:root[data-world] .reading-layout.db-editorial .full-story .prose blockquote{max-width:72ch;margin:1.5em auto!important;padding:.4em 1.2em!important;border-left:1px solid var(--rule)!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose blockquote p{margin-bottom:.6em!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose hr{height:0;max-width:100px;border:0;border-top:1px solid var(--rule);margin:32px auto;opacity:.65;background:none}

/* One fine frame on the picture itself; no second mount and no plus badge. */
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(figure.wp-block-image,div.wp-block-image,.gallery-item){display:block;float:none!important;margin:28px auto!important;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:center;min-width:0;max-width:100%}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-image,.gallery-icon)>a{display:block;width:fit-content;max-width:100%;height:auto;margin:auto;line-height:0;border:0;padding:0;box-shadow:none;cursor:zoom-in}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose a:has(>img)::after{display:none!important;content:none!important}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose img:not(.db-video-poster):not(.illustrated-icon):not(.emoji):not(.wp-smiley){display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:540px!important;min-height:0!important;object-fit:contain!important;margin:0 auto!important;padding:0!important;border:1px solid var(--frame-metal,var(--rule))!important;border-image:none!important;border-radius:1px!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box;aspect-ratio:auto!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose figcaption{position:static!important;inset:auto!important;width:auto!important;max-width:100%;margin:8px auto 0;padding:0 4px!important;font:14px/1.5 Georgia,serif;text-align:center;background:none!important;color:var(--muted);text-shadow:none}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery){display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:flex-start!important;gap:20px!important;width:100%!important;max-width:100%!important;margin:30px auto!important;padding:0!important;border:0;background:none!important;box-shadow:none!important}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery)>:is(figure,.gallery-item,p,.wp-block-image){flex:0 1 calc((100% - 40px)/3)!important;width:calc((100% - 40px)/3)!important;max-width:400px!important;min-width:0;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery):has(>:nth-child(2):last-child)>*{flex-basis:calc((100% - 20px)/2)!important;width:calc((100% - 20px)/2)!important}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery)>:only-child{flex-basis:min(100%,640px)!important;width:min(100%,640px)!important;max-width:640px!important}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery) img:not(.db-video-poster){width:auto!important;height:auto!important;max-height:230px!important;object-fit:contain!important;flex:none!important}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery) a:has(img){width:fit-content;max-width:100%;height:auto;margin-inline:auto}

/* Facts are real tables; important prose remains a restrained, themed note. */
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table{width:100%;max-width:80ch;margin:28px auto!important;overflow-x:auto;border:1px solid var(--rule);background:color-mix(in srgb,var(--frame-metal,var(--rule)) 8%,transparent);box-sizing:border-box}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table table{width:100%;border-collapse:collapse;margin:0;table-layout:auto}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table :is(td,th){padding:12px 16px;text-align:center;vertical-align:middle;border:0;border-bottom:1px solid var(--rule);font-size:.95em;line-height:1.6;overflow-wrap:anywhere}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table th{width:30%;font-weight:700;color:var(--ink)}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table tr:nth-child(even){background:color-mix(in srgb,var(--frame-metal,var(--rule)) 7%,transparent)}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-article-note{max-width:80ch;margin:24px auto!important;padding:20px 24px!important;border:1px solid var(--rule)!important;border-left-width:3px!important;background:color-mix(in srgb,var(--frame-metal,var(--rule)) 10%,transparent)!important;font-style:normal;text-align:center}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-article-note p{text-align:center!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose p.has-text-align-center{text-align:center!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-article-note p:last-child{margin-bottom:0!important}
/* Adjacent clips and soundtrack cards form a real, editable video gallery. */
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-gallery,.db-track-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px!important;margin:30px 0!important;align-items:start}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-gallery,.db-track-grid)>.wp-block-group__inner-container{display:contents}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-card,.db-track){min-width:0;margin:0!important;padding:0!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-card,.db-track) :is(h2,h3,h4){font-size:21px;margin:0 auto 12px!important;min-height:2.5em;display:grid;place-items:center;max-width:100%}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-card,.db-track) figure{margin:0!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-youtube,.wp-block-video){width:100%;max-width:none;margin:28px auto!important;padding:0;border:0;background:transparent;box-shadow:none}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-video-stage{border:1px solid var(--rule);box-sizing:border-box;overflow:hidden}
html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-gallery,.db-track-grid) video{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;display:block;background:#08090a;border:1px solid var(--rule);box-sizing:border-box}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .wp-block-media-text{gap:22px;align-items:center;margin-block:30px!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .wp-block-media-text__content{min-width:0}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .wp-block-media-text__content p{font-size:.95em;margin-bottom:.65em!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-ambient-audio{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);gap:24px;align-items:center;margin:24px auto!important}

/* Keep the deliberate profile and supporter layouts, now with lighter image mounts. */
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose .db-profile-columns img:not(.db-video-poster){height:auto!important;max-height:230px!important}
html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose .db-supporters img:not(.db-video-poster){width:auto!important;height:auto!important;max-height:180px!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-profile-columns :is(h2,h3){margin:.5em auto!important}
html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-profile-columns p{max-width:none}
@media(max-width:650px){
 html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:12px 14px;border-bottom:1px solid var(--rule)}
 html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table tbody :is(th,td){display:block;width:auto!important;padding:2px 0;border:0;overflow-wrap:break-word}
 html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-facts-table tbody tr>:first-child{font-weight:700;margin-bottom:4px}
 html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-gallery,.db-track-grid,.db-ambient-audio){grid-template-columns:minmax(0,1fr);gap:24px!important}
 html:root[data-world] .reading-layout.db-editorial .full-story .prose :is(.db-video-card,.db-track) :is(h2,h3,h4){min-height:0}
 html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery){gap:12px!important}
 html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery)>:is(figure,.gallery-item,p,.wp-block-image){flex-basis:calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important}
 html:root[data-world] body.single-post .reading-layout.db-editorial .full-story .prose :is(.wp-block-gallery,.db-compact-gallery,.gallery) img:not(.db-video-poster){height:auto!important;max-height:135px!important}
 html:root[data-world] .reading-layout.db-editorial .full-story .prose .wp-block-media-text{display:flex;flex-direction:column;gap:16px}
 html:root[data-world] .reading-layout.db-editorial .full-story .prose .wp-block-media-text>*{width:100%}
 html:root[data-world] .reading-layout.db-editorial .full-story .prose figcaption{font-size:12px}
}

html:root[data-world] .reading-layout.db-editorial .full-story .prose .db-playlist:not(.is-playing) .db-video-stage{aspect-ratio:auto;min-height:150px;height:150px;background:color-mix(in srgb,var(--frame-metal,var(--rule)) 7%,transparent)}
