/* Minimal compatibility with WordPress editor-generated group wrappers. */
.wp-block-group{box-sizing:border-box}.wp-block-group:empty{display:none}
main>.wp-block-group{margin-block:0!important}
main .wp-block-group{max-width:none}
main .wp-block-group p, main .wp-block-group h1, main .wp-block-group h2, main .wp-block-group h3{max-width:none}
.wp-block-group.container{margin-inline:auto}
.wp-block-group .wp-block-group{margin-block-start:0}
.chilly-wordpress .wp-block-heading{font-family:inherit}



/* Chilly Global v1.1.0: keep the approved brochure-style page layouts in WordPress.
 * Gutenberg group blocks can receive .is-layout-flow and layout CSS that overrides
 * the original prototype grid/flex containers. Scope overrides to the imported site.
 */
body.chilly-wordpress main .wp-block-group:is(
 .hero-inner,.stats-inner,.service-grid,.market-grid,.case-grid,.case-stack,
 .commit-grid,.network-grid,.brochure-grid,.detail-block,.detail-cards,
 .contact-panels,.loc-grid,.team-grid,.team-card,.document-grid,.document-feature,
 .project-grid,.projects-grid,.value-grid,.offer-grid,.sector-grid
){display:grid!important;min-width:0}
body.chilly-wordpress main .wp-block-group.hero-inner{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important}
body.chilly-wordpress main .wp-block-group.stats-inner{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.chilly-wordpress main .wp-block-group:is(.service-grid,.market-grid,.detail-cards,.contact-panels){grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.chilly-wordpress main .wp-block-group.case-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important}
body.chilly-wordpress main .wp-block-group.case-stack{grid-template-rows:1fr 1fr!important}
body.chilly-wordpress main .wp-block-group.commit-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important}
body.chilly-wordpress main .wp-block-group.network-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important}
body.chilly-wordpress main .wp-block-group.brochure-grid{grid-template-columns:minmax(0,1fr) 225px!important}
body.chilly-wordpress main .wp-block-group.detail-block{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.chilly-wordpress main .wp-block-group.loc-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.chilly-wordpress main .wp-block-group.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.chilly-wordpress main .wp-block-group.team-card{grid-template-columns:170px minmax(0,1fr)!important}
body.chilly-wordpress main .wp-block-group.document-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.chilly-wordpress main .wp-block-group.document-feature{grid-template-columns:150px minmax(0,1fr)!important}
body.chilly-wordpress main .wp-block-group:is(.project-grid,.projects-grid,.value-grid,.offer-grid,.sector-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}
/* Retain horizontal calls-to-action and floating header panels. */
body.chilly-wordpress main .wp-block-group:is(.hero-panel,.hero-actions,.section-head){display:flex!important}
/* Smooth dark-blue page headers, consistent with the approved Home treatment.
   Removes the vertical white pinstripes from all internal-page banners. */
body.chilly-wordpress .detail-hero{
 background:radial-gradient(ellipse at 2% 20%,#204f69 0,transparent 36%),linear-gradient(135deg,#0e3046 5%,#092234 85%)!important;
}
body.chilly-wordpress .detail-hero::after{content:none!important;display:none!important}
/* Ensure children in responsive grids can shrink without pushing a column offscreen. */
body.chilly-wordpress main .wp-block-group:is(.detail-block,.team-card,.team-grid,.contact-panels,.loc-grid,.document-grid,.document-feature) > *{min-width:0}
@media(max-width:1100px){
 body.chilly-wordpress main .wp-block-group:is(.team-grid,.document-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.chilly-wordpress main .wp-block-group.team-card{grid-template-columns:135px minmax(0,1fr)!important}
}
@media(max-width:980px){
 body.chilly-wordpress main .wp-block-group.hero-inner{grid-template-columns:1fr!important}
 body.chilly-wordpress main .wp-block-group.stats-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.chilly-wordpress main .wp-block-group:is(.service-grid,.market-grid,.detail-cards){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.chilly-wordpress main .wp-block-group:is(.case-grid,.commit-grid,.network-grid,.brochure-grid){grid-template-columns:1fr!important}
 body.chilly-wordpress main .wp-block-group.document-feature{grid-template-columns:140px minmax(0,1fr)!important}
}
@media(max-width:680px){
 body.chilly-wordpress main .wp-block-group:is(.service-grid,.market-grid,.detail-cards,.contact-panels,.detail-block,.team-grid,.document-grid,.project-grid,.projects-grid,.value-grid,.offer-grid,.sector-grid){grid-template-columns:1fr!important}
 body.chilly-wordpress main .wp-block-group:is(.loc-grid,.stats-inner){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.chilly-wordpress main .wp-block-group.team-card{grid-template-columns:110px minmax(0,1fr)!important}
 body.chilly-wordpress main .wp-block-group.document-feature{grid-template-columns:95px minmax(0,1fr)!important}
 body.chilly-wordpress main .wp-block-group.case-stack{grid-template-rows:1fr 1fr!important}
}
