/* Only explicitly configured rows receive rsc-edit-grid. No default-page selectors. */
html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout] {
  display:grid!important;
  grid-template-columns:repeat(var(--rsc-edit-desktop-columns,12),minmax(0,1fr))!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
}
html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout]::before,
html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout]::after {
  display:none!important;
  content:none!important;
}
html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout]>:is(.wpb_column,.vc_element),
html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout]>.vc_element>.wpb_column {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  justify-self:stretch!important;
  box-sizing:border-box!important;
}
/* Native widths: grid gaps are outside the 12 fractional tracks, no percentage overflow. */
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-1,.vc_element:has(>.vc_col-sm-1)){grid-column:span 1!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-2,.vc_element:has(>.vc_col-sm-2)){grid-column:span 2!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-3,.vc_element:has(>.vc_col-sm-3)){grid-column:span 3!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-4,.vc_element:has(>.vc_col-sm-4)){grid-column:span 4!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-5,.vc_element:has(>.vc_col-sm-5)){grid-column:span 5!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-6,.vc_element:has(>.vc_col-sm-6)){grid-column:span 6!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-7,.vc_element:has(>.vc_col-sm-7)){grid-column:span 7!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-8,.vc_element:has(>.vc_col-sm-8)){grid-column:span 8!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-9,.vc_element:has(>.vc_col-sm-9)){grid-column:span 9!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-10,.vc_element:has(>.vc_col-sm-10)){grid-column:span 10!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-11,.vc_element:has(>.vc_col-sm-11)){grid-column:span 11!important}
html body .rsc-edit-grid[data-rsc-layout="native"]>:is(.vc_col-sm-12,.vc_element:has(>.vc_col-sm-12)){grid-column:span 12!important}
@media(max-width:1180px){
  html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout]{grid-template-columns:repeat(var(--rsc-edit-tablet-columns,2),minmax(0,1fr))!important}
}
@media(max-width:760px){
  html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout]{grid-template-columns:minmax(0,1fr)!important}
  html body .rsc-edit-grid.rsc-edit-grid[data-rsc-layout]>:is(.wpb_column,.vc_element){grid-column:1/-1!important}
}

/* Only the four explicitly framed native photographs. Standard Single Image
   elements elsewhere retain the original WPBakery styling and behaviour. */
.wpb_single_image.rsc-native-photo {
  margin:0!important;
  min-width:0;
}
.wpb_single_image.rsc-native-photo>.vc_figure {
  display:block;
  max-width:100%;
}
.wpb_single_image.rsc-native-photo .vc_single_image-wrapper {
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
}
.wpb_single_image.rsc-native-photo img {
  display:block;
}
