/** JSV 2.0.333 — fit the content panel, not only the browser window.
 * Presentation only. No Activity/Profile feed shell or scroll-controller rules.
 * Cards stack before text/controls become narrow; overflow is not hidden to mask it.
 */
.jseco-workspace,.jsdn-workspace,.jseco-overview,.jsg-biz-showcase,
.jsdn-public-partners,.jseco-group-hero{min-inline-size:0;max-inline-size:100%}
.jseco-workspace,.jsdn-workspace{container-type:inline-size;container-name:js-network-space}
.jseco-overview{container-type:inline-size;container-name:js-group-overview}
.jseco-overview-main{container-type:inline-size;container-name:js-group-main}
.jseco-group-hero{container-type:inline-size;container-name:js-group-hero}
.jseco-workspace :is(h1,h2,h3,p,a,label,button),
.jsdn-workspace :is(h1,h2,h3,p,a,label,button),
.jseco-overview :is(h1,h2,h3,p,a),.jsg-biz-showcase :is(h2,h3,p,a),
.jsdn-public-partners :is(h2,h3,p,a){word-break:normal;overflow-wrap:anywhere}
.jseco-heading,.jsdn-heading,.jsg-biz-heading{flex-wrap:wrap;align-items:flex-start}
.jseco-heading>div,.jsdn-heading>div,.jsg-biz-heading>div{flex:1 1 22rem;min-width:0}
.jseco-heading>a,.jsdn-heading>a,.jsg-biz-heading>a{flex:0 1 auto;max-width:100%;white-space:normal}
.jseco-card>header{flex-wrap:wrap}
.jseco-card>header a{white-space:normal;overflow-wrap:anywhere}
.jseco-title>div,.jseco-peer>div,.jseco-peer>span,.jsdn-business-card>div{min-width:0;flex:1 1 auto}
.jseco-tabs a{flex:0 1 auto;max-width:100%;white-space:normal;min-height:44px}
.jseco-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select),
.jsdn-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){box-sizing:border-box;min-width:0;max-width:100%;font-size:16px}
.jseco-workspace .jseco-check input,.jsdn-workspace .jsdn-check input{flex:0 0 18px}
.jseco-search label,.jseco-switch label{flex:1 1 16rem;width:auto;max-width:100%}
.jseco-search>button,.jseco-switch>button{flex:0 1 auto;max-width:100%}
.jseco-form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(260px,calc((100% - 22px)/2))),1fr))}
.jsdn-two{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(260px,calc((100% - 16px)/2))),1fr))}
.jseco-stats,.jsdn-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px}
.jseco-stats span,.jsdn-stats span{font-size:14px;line-height:1.45}
.jseco-stats strong,.jsdn-stats strong{overflow-wrap:anywhere}
.jseco-card-grid,.jseco-peer-grid,.jseco-perk-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.jsdn-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(280px,calc((100% - 18px)/2))),1fr))}
.jsg-biz-showcase[data-jsg-biz-columns="3"] .jsdn-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(280px,calc((100% - 36px)/3))),1fr))}
.jsg-biz-showcase[data-jsg-biz-columns="4"] .jsdn-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(280px,calc((100% - 54px)/4))),1fr))}
.jsg-biz-quicklinks{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}
.jsg-biz-quicklinks a{min-height:44px;white-space:normal}
.jsdn-business-card .jsdn-button,.jseco-card .jseco-button{max-width:100%;white-space:normal}
.jseco-card .jseco-peer-grid,.jseco-card .jseco-perk-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.jseco-hero-identity{flex-wrap:wrap;align-items:center}
.jseco-hero-title{flex:1 1 260px;min-width:0!important}
.jseco-hero-title h1{overflow-wrap:anywhere;word-break:normal}
.jseco-hero-actions{flex:0 1 280px;max-width:100%;min-width:0}
.jseco-hero-actions :is(a,button){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.jseco-highlights>div{grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:6px}
.jseco-highlights a{min-height:66px;border:0}
.jseco-highlights>header{flex-wrap:wrap}
.jseco-post-launcher{flex-wrap:wrap}
.jseco-post-launcher>a:first-of-type{flex:1 1 220px}
.jseco-overview :is(.jsg270-card,.jsg-web-section)>header{flex-wrap:wrap!important}
.jseco-overview :is(.jsg270-card,.jsg-web-section)>header :is(h2,a){max-width:100%;overflow-wrap:anywhere;white-space:normal}
/* Safe one-column fallback; modern browsers progressively add rails only when room exists. */
.jseco-overview-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.jseco-overview-main{grid-column:1;grid-row:1}
.jseco-overview-left{grid-column:1;grid-row:2}
.jseco-overview-right{grid-column:1;grid-row:3}
.jseco-overview-left,.jseco-overview-right{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;align-items:start}
.jseco-overview-left>section,.jseco-overview-right>section{margin-bottom:0!important}
@container js-group-overview (min-width:850px){
  .jseco-overview-grid{grid-template-columns:220px minmax(0,1fr)}
  .jseco-overview-main{grid-column:2;grid-row:1}
  .jseco-overview-left{grid-column:1;grid-row:1;display:block}
  .jseco-overview-left>section{margin-bottom:17px!important}
  .jseco-overview-right{grid-column:1/-1;grid-row:2}
}
@container js-group-overview (min-width:1160px){
  .jseco-overview-grid{grid-template-columns:220px minmax(600px,1fr) 280px}
  .jseco-overview-main{grid-column:2;grid-row:1}
  .jseco-overview-right{grid-column:3;grid-row:1;display:block}
  .jseco-overview-right>section{margin-bottom:17px!important}
}
@container js-group-overview (min-width:1450px){
  .jseco-overview-grid{grid-template-columns:240px minmax(600px,1fr) 300px}
}
/* Editorial cards respond to center-column width (which may be small on a big monitor). */
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-story-grid,body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg-web-story-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-1{grid-template-columns:minmax(0,1fr)!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;grid-template-rows:none!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:first-child{grid-column:1/-1!important;grid-row:auto!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:not(:first-child)>a{display:block!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:not(:first-child) .jsg-web-story-media img{height:150px!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:not(:first-child) .jsg-web-story-copy h3{font-size:16px!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg-web-welcome-copy{padding:20px!important}
/* Narrow authored welcome content must not inherit an old hard 240px image track. */
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg-web-welcome.has-image{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:0!important}
@container js-group-main (max-width:559px){
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg-web-welcome.has-image{grid-template-columns:minmax(0,1fr)!important}
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg-web-welcome-image{min-height:140px;max-height:200px}
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg-web-welcome-copy{padding:17px!important}
}
@container js-group-main (min-width:760px){
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;grid-template-rows:repeat(2,auto)!important}
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:first-child{grid-column:1!important;grid-row:1/3!important}
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:not(:first-child)>a{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important}
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:not(:first-child) .jsg-web-story-media img{height:110px!important}
  body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:not(:first-child) .jsg-web-story-copy h3{font-size:15px!important}
}
@container js-group-hero (max-width:650px){
  .jseco-hero-identity{gap:14px;padding:16px}
  .jseco-hero-title{flex-basis:190px}
  .jseco-hero-actions{flex-basis:100%;max-width:none;width:100%}
  .jseco-group-avatar{width:78px;height:78px}
}
@container js-network-space (max-width:580px){
  .jseco-card,.jsdn-panel{padding:16px}
  .jseco-search>button,.jseco-switch>button{flex-basis:100%;width:100%}
  .jsdn-heading{padding:20px}
  .jseco-actions>*{max-width:100%}
}
/* Existing business-page renderer: retain compact thumbnails, not three squeezed text tracks. */
body .jsd-bs .bs-overview-networks .bs-network-grid,
body.jsv-b234-page .bs-network-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important}
body.jsv-b234-page .bs-news-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
body.jsv-b234-page :is(.bs-about-contact,.bs-overview-service-pair){grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
body .jsd-bs .bs-overview-networks :is(.bs-network-copy,.bs-network-card){min-width:0}
body.jsv-b234-page .bs-hero-actions .bs-btn{min-width:0;white-space:normal;max-width:100%;overflow-wrap:anywhere}
.jst-site .jst-service-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
/* No thumbnail cropping changes: real logos and the approved default brand assets are retained. */
@media(max-width:600px){
  .jseco-workspace,.jsdn-workspace{padding:12px}
  .jseco-workspace :is(button,.jseco-button),.jsdn-workspace :is(button,.jsdn-button){min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  .jseco-workspace *,.jseco-overview *,.jsdn-workspace *{scroll-behavior:auto!important;transition:none!important}
}

/* Scope beats the retained 2.0.268 editorial rules, which otherwise force grid-column:2. */
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2){grid-column:auto!important;grid-row:auto!important;min-height:0!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2)>a{display:block!important;grid-template-columns:minmax(0,1fr)!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2) :is(.jsg-web-story-media,.jsg-web-story-art){height:150px!important;min-height:0!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2) .jsg-web-story-media img{height:150px!important;min-height:0!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview :is(.jsg270-card,.jsg-web-section)>header h2{color:#fff!important}
body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview :is(.jsg270-card,.jsg-web-section)>header a{color:#f5d77e!important}
@container js-group-main (min-width:760px){
 body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2){grid-column:2!important}
 body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2)>a{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important}
 body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2) :is(.jsg-web-story-media,.jsg-web-story-art){height:110px!important}
 body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"] .jseco-overview .jsg218-count-3>.jsg-web-story:nth-child(n+2) .jsg-web-story-media img{height:110px!important}
}
/* A constrained embedded Overview shell must not retain an empty account column. */
#jsv220-groups[data-jg-route="group-home"]{container-type:inline-size;container-name:js-group-shell}
@container js-group-shell (max-width:900px){
 body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"]>.jg232-account-rail{display:none!important}
 body.jsv-g232-page #jsv220-groups[data-jg-route="group-home"]>.jg-workspace{grid-area:1/1/auto/-1!important;grid-column:1/-1!important;width:100%!important}
}
#jsv220-groups[data-jg-route="group-home"] .jg-local-nav{max-width:100%;min-width:0}
#jsv220-groups[data-jg-route="group-home"] .jg-local-track{display:flex!important;max-width:100%;min-width:0;width:100%;overflow-x:auto;overscroll-behavior-x:contain}
#jsv220-groups[data-jg-route="group-home"] .jg-local-track>a{flex-shrink:0;min-height:44px}
