/* JSV 2.0.65: widen the Events and Marketplace landing frames only.
 * Their existing navigation, tools and responsive stacking stay in place.
 * The shared 1320px policy remains authoritative on every other page. */
html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)) > :is(.js-events-home-shell,.jsm-marketplace-hub,.jsf-context-shell.jsf-context-events,.jsf-context-shell.jsf-context-marketplace) {
  --jsv-page-max:1440px;
  box-sizing:border-box!important;
  min-width:0!important;
  width:min(1440px,var(--jsv-frame-available-width,calc(100% - var(--jsv-frame-total-gutter,48px))))!important;
  max-width:min(1440px,var(--jsv-frame-available-width,calc(100% - var(--jsv-frame-total-gutter,48px))))!important;
  margin-left:var(--jsv-frame-page-left,auto)!important;
  margin-right:var(--jsv-frame-page-right,auto)!important;
}
/* Match the dimension binder's complete guard and add root specificity.
 * A feature plugin can place its full landing surface in a neutral wrapper. */
html body.jsv-uniform-dimensions-ready[data-jsv-page-layout-bound="1"]:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)) > [data-jsv-page-dimensions][data-jsv-page-dimensions]:is(.js-events-home-shell,.jsm-marketplace-hub,.jsf-context-shell.jsf-context-events,.jsf-context-shell.jsf-context-marketplace,:has(.js-events-home-shell,.jsm-marketplace-hub)) {
  --jsv-page-max:1440px;
  box-sizing:border-box!important;
  min-width:0!important;
  width:min(1440px,var(--jsv-frame-available-width,calc(100% - var(--jsv-frame-total-gutter,48px))))!important;
  max-width:min(1440px,var(--jsv-frame-available-width,calc(100% - var(--jsv-frame-total-gutter,48px))))!important;
  margin-left:var(--jsv-frame-page-left,auto)!important;
  margin-right:var(--jsv-frame-page-right,auto)!important;
  column-gap:var(--jsv-frame-column-gap,20px)!important;
}
/* Never apply the outer side allowance twice to a nested plugin frame. */
html body.jsv-uniform-dimensions-ready[data-jsv-page-layout-bound="1"]:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)) > [data-jsv-page-dimensions][data-jsv-page-dimensions] :is(.js-events-home-shell,.jsm-marketplace-hub) {
  box-sizing:border-box!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* These wrappers surround complete plugin shells with their own sidebars.
 * Do not reserve a second pair of context rails around the plugin rails. */
html body :is(.jsf-context-shell.jsf-context-events:has(> .jsf-context-main > .js-events-home-shell),.jsf-context-shell.jsf-context-marketplace:has(> .jsf-context-main > .jsm-marketplace-hub)) {
  display:block!important;
  padding-left:0!important;
  padding-right:0!important;
}
html body :is(.jsf-context-shell.jsf-context-events:has(> .jsf-context-main > .js-events-home-shell),.jsf-context-shell.jsf-context-marketplace:has(> .jsf-context-main > .jsm-marketplace-hub)) > :is(.jsf-context-tools,.jsf-context-right) {
  display:none!important;
}
html body :is(.jsf-context-shell.jsf-context-events:has(> .jsf-context-main > .js-events-home-shell),.jsf-context-shell.jsf-context-marketplace:has(> .jsf-context-main > .jsm-marketplace-hub)) > .jsf-context-main {
  box-sizing:border-box!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
}
html body :is(.js-events-home-shell,.jsm-marketplace-hub) {
  gap:var(--jsv-frame-column-gap,20px)!important;
}
html body :is(.js-events-home-shell,.jsm-marketplace-hub) > * {
  min-width:0!important;
}
@media (min-width:1301px) {
  html body .js-events-home-shell {
    grid-template-columns:220px minmax(0,1fr) 280px!important;
  }
  html body .js-events-home-shell > .js-events-home-right {
    grid-column:auto!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media (min-width:1381px) {
  html body .jsm-marketplace-hub {
    grid-template-columns:220px minmax(0,1fr) 280px!important;
  }
}
@media (min-width:1081px) and (max-width:1380px) {
  html body .jsm-marketplace-hub {
    grid-template-columns:200px minmax(0,1fr) 250px!important;
  }
}
@media print {
  html body.jsv-uniform-dimensions-ready[data-jsv-page-layout-bound="1"]:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)) > [data-jsv-page-dimensions][data-jsv-page-dimensions]:is(.js-events-home-shell,.jsm-marketplace-hub,.jsf-context-shell.jsf-context-events,.jsf-context-shell.jsf-context-marketplace,:has(.js-events-home-shell,.jsm-marketplace-hub)) {
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}
