/* scorecard-fix-20261102: remove stock Plone breadcrumbs + 'Powered by Plone' footer credit */
[aria-label="Breadcrumbs"].breadcrumbs{display:none!important}
#footer a[href="https://plone.org"],#footer [role="listitem"]:has(>a[href="https://plone.org"]),footer a[href="https://plone.org"]{display:none!important}

/* wc-content-width-20261109b (t6874u + t6875u fix2): Logo→Search container with visible side gutters,
   single-row nav at ≥1101px, centered page titles.
   Desktop: 40px gutters, cap 1200px (1280→40px/side, 1440→120px/side). Mobile ~14px.
   Rollback: restore sc-fix.css.bak-pre-fix2-20261109 and apache ?v=3w1. */
html body.public-ui{
  --sw-edge-w:min(calc(100vw - 80px),1200px);
}
@media (max-width:768px){html body.public-ui{--sw-edge-w:min(calc(100vw - 28px),1200px);}}
html body.public-ui{
  --narrow-container-width:var(--sw-edge-w);
  --default-container-width:var(--sw-edge-w);
  --layout-container-width:var(--sw-edge-w);
}
/* Drop the old 18px header-wrapper pad; gutters come from the centered layout container */
html body.public-ui .header-wrapper{
  padding-left:0!important;padding-right:0!important;
}
html body.public-ui .header-wrapper > .q.container.layout,
html body.public-ui .header-wrapper .header{
  width:var(--sw-edge-w)!important;max-width:var(--sw-edge-w)!important;
  margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;
}
html body.public-ui .header-wrapper .header .logo-nav-wrapper{
  width:100%!important;max-width:none!important;box-sizing:border-box!important;
}
/* Keep logo | nav | search on one flex row at desktop; wrap only below ~1100 */
@media (min-width:1101px){
  html body.public-ui .header-wrapper .header .logo-nav-wrapper{flex-wrap:nowrap!important;gap:8px 12px!important;}
  html body.public-ui .wc-nav a{padding:8px 6px!important;font-size:15px!important;}
  html body.public-ui .wc-nav a.wc-book{padding:10px 12px!important;}
}
@media (min-width:1101px) and (max-width:1280px){
  html body.public-ui .wc-nav{gap:4px 4px!important;}
  html body.public-ui .wc-nav a{padding:8px 5px!important;}
  html body.public-ui .wc-nav a.wc-book{padding:9px 10px!important;}
}
/* Restore centered page titles (regression from width reset) */
html body.public-ui h1.documentFirstHeading,
html body.public-ui #page-document h1.documentFirstHeading,
html body.public-ui #view > h1.documentFirstHeading{
  text-align:center!important;
}
html body.public-ui #main .content-area #view{
  width:var(--sw-edge-w)!important;max-width:var(--sw-edge-w)!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;
}
html body.public-ui #view #page-document,
html body.public-ui #view #page-document > *,
html body.public-ui #view #page-document .blocks-group-wrapper > *,
html body.public-ui #view > .q.container,
html body.public-ui #view > .documentFirstHeading,
html body.public-ui #view > .tags,
html body.public-ui #view > .related-items{
  max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;
}
html body.public-ui #view #page-document,
html body.public-ui #view #page-document > *{width:100%!important;box-sizing:border-box!important;}
html body.public-ui #view #page-document .block.image,
html body.public-ui #view #page-document .block.image figure,
html body.public-ui #view #page-document .block.image img,
html body.public-ui #view #page-document .block.listing,
html body.public-ui #view #page-document .block.teaser,
html body.public-ui #view #page-document .block.slider,
html body.public-ui #view #page-document .block.slider .slider-wrapper,
html body.public-ui #view #page-document .block.slider img{max-width:100%!important;}
html body.public-ui #view #page-document .block.image.center img,
html body.public-ui #view #page-document .block.image.full img,
html body.public-ui #view #page-document .block.image.narrow img,
html body.public-ui #view #page-document .block.image.wide img,
html body.public-ui #view #page-document .block.slider img{width:100%!important;height:auto!important;}
html body.public-ui #view #page-document p,
html body.public-ui #view #page-document ul:not([class]) > li,
html body.public-ui #view #page-document ol > li{max-width:48rem!important;}
@media (max-width:767px){
  html body.public-ui #view #page-document p,
  html body.public-ui #view #page-document li{max-width:none!important;}
}
/* Footer: keep full-bleed navy bg; constrain inner columns + newsletter to same container */
html body.public-ui #footer .jma-footer__inner,
html body.public-ui #footer .wc-nl.wc-nl--footer,
html body.public-ui #footer .pre-footer .wc-nl{
  width:var(--sw-edge-w)!important;max-width:var(--sw-edge-w)!important;
  margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;
}
/* site-go-related-20261106: hide visible Related Items block (relatedItems data kept) */
/* t7040 2026-11-17: un-hide Related. Original sitewide hide from 20261106 removed. */
/* t7040 2026-11-17: un-hide Related (removed more-specific hide that beat the styled show rules). */

/* card2-related-20261109: show styled Related (Jason t6889s36748) */
.related-items,
.ui.container.related-items,
:root body #view > .related-items,
:root body #view > .related-items.ui.container,
:root body .ui.container.related-items {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  margin: 2rem auto 1.5rem !important;
  max-width: 900px !important;
  padding: 1.25rem 1.5rem !important;
  background: #f7f4ee !important;
  border: 1px solid #d7cbb6 !important;
  border-left: 4px solid #6b4f32 !important;
  border-radius: 8px !important;
}
.related-items .header, .ui.container.related-items .header, .related-items h2, .related-items h3 {
  display: block !important; color: #3d2c1c !important; font-size: 1.1rem !important; font-weight: 650 !important; margin: 0 0 0.75rem !important;
}
.related-items a, .ui.container.related-items a { color: #6b4f32 !important; text-decoration: none !important; }
.related-items a:hover { color: #3d2c1c !important; text-decoration: underline !important; }
.related-items .list, .related-items ul { margin: 0 !important; padding-left: 1.1rem !important; }
.related-items .list .item, .related-items li { margin: 0.35rem 0 !important; }
