/* Body content is capped, independently of the sidebar and the site header. */
body.fr-post-managed :is(.kp-main,.fq-main,.fl-main,.fc-main,.fcp-main,.cm-main,.ft-main,.fr-profession-content,.fr-gear-main,.fr-directory-body,.fr-article-main,.fr-ps-main){width:100%;max-width:930px;min-width:0;box-sizing:border-box}
body.fr-post-managed :is(.kp-layout,.fq-layout,.fl-layout,.fc-layout,.fcp-layout,.cm-layout,.ft-layout,.fr-profession-layout,.fr-gear-layout,.fr-directory-layout,.fr-article-layout,.fr-ps-layout){grid-template-columns:minmax(0,930px) 270px;max-width:1220px;margin-left:auto;margin-right:auto;gap:20px}
body.fr-post-managed :is(.kp-page-inner,.fcp-page-inner,.cm-page-inner,.fr-timer-inner,.fr-collect-inner,.fr-leve-inner,.fr-quest-inner,.fr-content)>:is(p,figure,h2,h3,h4,ul,ol,blockquote,.wp-block-group,.wp-block-columns){max-width:930px;width:100%;box-sizing:border-box}
body.fr-post-managed .rg .rg-intro{border:0;background:transparent;padding:0;margin:0 0 24px;border-radius:0;box-shadow:none;max-width:930px}
body.fr-post-managed .rg .rg-intro figure{max-width:930px;margin:0 0 14px}body.fr-post-managed .rg .rg-intro p{padding:0}
.fr-ps-layout{display:grid;align-items:start}.fr-ps-sidebar{min-width:0}.fr-ps-sidebar [hidden]{display:none!important}.fr-ps-sidebar [data-ps-module]{margin-bottom:16px}.fr-ps-sidebar .fr-ps-box{background:#fff;color:#14244e;border:1px solid #e0e3f7;border-radius:8px;padding:16px}.fr-ps-sidebar h2{font-size:18px;line-height:1.5;margin:0 0 12px}.fr-ps-sidebar .fr-ps-card{display:block;text-decoration:none;color:inherit;padding:0;border:0;margin:0 0 18px;line-height:1.6}.fr-ps-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;margin-bottom:8px}.fr-ps-card span{display:block;font-size:14px}.fr-ps-box>p{font-size:12px}.fr-ps-ready [data-ps-module=related] :is(.kp-related,.fr-crafter-related,.fr-related-widget){display:block!important}
body.fr-post-managed aside:not(.fr-ps-ready) :is(.kp-related,.fr-crafter-related,.fr-related-widget,.fr-housing){display:none}
html[data-fr-theme=dark] .fr-ps-box{background:#191f33;color:#eef1ff;border-color:#37415b}
@media(max-width:1000px){body.fr-post-managed :is(.kp-layout,.fq-layout,.fl-layout,.fc-layout,.fcp-layout,.cm-layout,.ft-layout,.fr-profession-layout,.fr-gear-layout,.fr-directory-layout,.fr-article-layout,.fr-ps-layout){grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:780px){body.fr-post-managed :is(.kp-layout,.fq-layout,.fl-layout,.fc-layout,.fcp-layout,.cm-layout,.ft-layout,.fr-profession-layout,.fr-gear-layout,.fr-directory-layout,.fr-article-layout,.fr-ps-layout){display:block}.fr-ps-sidebar{position:static!important;display:block!important;margin-top:20px}.fr-ps-sidebar[hidden]{display:none!important}.fr-ps-sidebar [data-ps-module]>section{display:block!important}}

body.fr-post-managed .fr-ps-no-sidebar{grid-template-columns:minmax(0,930px)}
/* The introductory image uses its natural ratio at the full article width. */
body.fr-post-managed .rg .rg-intro figure{width:100%!important;max-width:100%!important}
body.fr-post-managed .rg .rg-intro figure img{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;background:transparent;object-fit:contain}
/* One page-wide sidebar; macro blocks inside the article no longer reserve a second column. */
body.fr-post-managed .fr-ps-inline-macro{display:block;max-width:none;margin:0}
body.fr-post-managed .fr-ps-macro-side{display:block;position:static;margin:0;color:inherit}
body.fr-post-managed .fr-ps-macro-side .cm-box{margin-bottom:16px}
body.fr-post-managed .fr-ps-craft-page .fr-ps-sidebar{align-self:start;min-width:0}
body.fr-post-managed .fr-ps-page-toc h2{font-size:18px}
body.fr-post-managed .fr-ps-page-toc a{overflow-wrap:anywhere}
body.fr-post-managed .fr-ps-craft-page h2[id]{scroll-margin-top:90px}
@media(max-width:780px){body.fr-post-managed .fr-ps-macro-side{display:block!important}}

/* Separate equipment notes and consecutive article/sidebar sections. */
body.fr-post-managed .fr-profession>.fr-profession-note{margin-top:18px;margin-bottom:0}
body.fr-post-managed .fr-profession-content .fr-crafter-macros:not(.fr-ps-macro-side){margin-top:28px}
body.fr-post-managed .fr-ps-sidebar [data-ps-module="content"]>*+*{margin-top:16px}

.fr-ps-notices{list-style:none;margin:0;padding:0}.fr-ps-notices li+li{border-top:1px solid var(--fr-line,#e5eaf6);margin-top:12px;padding-top:12px}.fr-ps-notices time{font-size:11px;color:var(--fr-muted,#6d7b9e)}.fr-ps-notices a{display:inline-block;line-height:1.6;overflow-wrap:anywhere}
